summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cross/xtensa-unknown-elf-binutils-lts/PKGBUILD75
-rw-r--r--cross/xtensa-unknown-elf-binutils-lts/binutils-2.23.2-texinfo-5.0.patch162
-rw-r--r--cross/xtensa-unknown-elf-binutils-lts/xtensa-unknown-elf-binutils.install17
-rw-r--r--cross/xtensa-unknown-elf-gcc-lts/PKGBUILD99
-rw-r--r--cross/xtensa-unknown-elf-gcc-lts/xtensa-unknown-elf-gcc.install20
5 files changed, 0 insertions, 373 deletions
diff --git a/cross/xtensa-unknown-elf-binutils-lts/PKGBUILD b/cross/xtensa-unknown-elf-binutils-lts/PKGBUILD
deleted file mode 100644
index 27ef7c824..000000000
--- a/cross/xtensa-unknown-elf-binutils-lts/PKGBUILD
+++ /dev/null
@@ -1,75 +0,0 @@
-# $Id: PKGBUILD 182407 2013-04-10 07:34:20Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-_pkgname=binutils
-_target="xtensa-unknown-elf"
-
-pkgname=${_target}-${_pkgname}-lts
-pkgver=2.23.1
-pkgrel=3
-pkgdesc="A set of programs to assemble and manipulate binary and object files for the Xtensa architecture"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://www.gnu.org/software/binutils/"
-license=('GPL')
-groups=("${_target}-base-devel")
-depends=('glibc>=2.17' 'zlib')
-provides=("${_target}-${_pkgname}")
-conflicts=("${_target}-${_pkgname}")
-options=('!libtool' '!distcc' '!ccache')
-install=${_target}-binutils.install
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
- https://raw.github.com/qca/open-ath9k-htc-firmware/1.3.2/local/patches/binutils.patch
- binutils-2.23.2-texinfo-5.0.patch)
-md5sums=('33adb18c3048d057ac58d07a3f1adb38'
- '1869b37216e7d7eff7e335a69e0882fd'
- '7077126d96e9a755a0eaddb5505efe68'
- '34e439ce23213a91e2af872dfbb5094c')
-
-prepare() {
- cd ${srcdir}/binutils-${pkgver}
-
- # http://sourceware.org/git/?p=binutils.git;a=patch;h=e02bf935
- # http://sourceware.org/git/?p=binutils.git;a=patch;h=935f8542
- patch -p1 -i ${srcdir}/binutils-2.23.2-texinfo-5.0.patch
-
- # open-ath9k-htc-firmware patch
- patch -p1 -i ${srcdir}/binutils.patch
-
- # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-
- mkdir ${srcdir}/binutils-build
-}
-
-build() {
- cd ${srcdir}/binutils-build
-
- ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
- --target=${_target} \
- --disable-nls \
- --with-lib-path=/usr/lib:/usr/local/lib \
- --with-bugurl=https://labs.parabola.nu/ \
- --enable-shared \
- --disable-werror --disable-multilib
-
- # check the host environment and makes sure all the necessary tools are available
- make configure-host
-
- make tooldir=/usr
-}
-
-package() {
- cd ${srcdir}/binutils-build
- make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-
- # Remove unwanted files
- rm ${pkgdir}/usr/share/man/man1/${_target}-{dlltool,nlmconv,windres,windmc}*
-
- # Remove unnecessary files and folders
- rm $pkgdir/usr/bin/{a{r,s},nm,obj{copy,dump},ranlib,strip}
- rm $pkgdir/usr/lib/libiberty.a
- rm $pkgdir/usr/$CHOST/${_target}/include/* && rmdir $pkgdir/usr/$CHOST/${_target}/include
- rm $pkgdir/usr/share/info/* && rmdir $pkgdir/usr/share/info
-}
diff --git a/cross/xtensa-unknown-elf-binutils-lts/binutils-2.23.2-texinfo-5.0.patch b/cross/xtensa-unknown-elf-binutils-lts/binutils-2.23.2-texinfo-5.0.patch
deleted file mode 100644
index 38dc19fb0..000000000
--- a/cross/xtensa-unknown-elf-binutils-lts/binutils-2.23.2-texinfo-5.0.patch
+++ /dev/null
@@ -1,162 +0,0 @@
-diff --git a/bfd/doc/bfd.texinfo b/bfd/doc/bfd.texinfo
-index 45ffa73..3aa3300 100644
---- a/bfd/doc/bfd.texinfo
-+++ b/bfd/doc/bfd.texinfo
-@@ -322,7 +324,7 @@ All of BFD lives in one directory.
- @printindex cp
-
- @tex
--% I think something like @colophon should be in texinfo. In the
-+% I think something like @@colophon should be in texinfo. In the
- % meantime:
- \long\def\colophon{\hbox to0pt{}\vfill
- \centerline{The body of this manual is set in}
-@@ -333,7 +335,7 @@ All of BFD lives in one directory.
- \centerline{{\sl\fontname\tensl\/}}
- \centerline{are used for emphasis.}\vfill}
- \page\colophon
--% Blame: doc@cygnus.com, 28mar91.
-+% Blame: doc@@cygnus.com, 28mar91.
- @end tex
-
- @bye
-diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
-index 56a0510..fb1802b 100644
---- a/binutils/doc/binutils.texi
-+++ b/binutils/doc/binutils.texi
-@@ -148,18 +148,18 @@ in the section entitled ``GNU Free Documentation License''.
- * objcopy:: Copy and translate object files
- * objdump:: Display information from object files
- * ranlib:: Generate index to archive contents
--* readelf:: Display the contents of ELF format files
- * size:: List section sizes and total size
- * strings:: List printable strings from files
- * strip:: Discard symbols
--* elfedit:: Update the ELF header of ELF files
- * c++filt:: Filter to demangle encoded C++ symbols
- * cxxfilt: c++filt. MS-DOS name for c++filt
- * addr2line:: Convert addresses to file and line
- * nlmconv:: Converts object code into an NLM
--* windres:: Manipulate Windows resources
- * windmc:: Generator for Windows message resources
-+* windres:: Manipulate Windows resources
- * dlltool:: Create files needed to build and use DLLs
-+* readelf:: Display the contents of ELF format files
-+* elfedit:: Update the ELF header of ELF files
- * Common Options:: Command-line options for all utilities
- * Selecting the Target System:: How these utilities determine the target
- * Reporting Bugs:: Reporting Bugs
-@@ -2907,7 +2907,7 @@ the Info entries for @file{binutils}.
- @c man end
- @end ignore
-
--@node c++filt, addr2line, elfedit, Top
-+@node c++filt, addr2line, strip, Top
- @chapter c++filt
-
- @kindex c++filt
-@@ -4384,7 +4384,7 @@ equivalent. At least one of the @option{--output-mach},
-
- @table @env
-
--@itemx --input-mach=@var{machine}
-+@item --input-mach=@var{machine}
- Set the matching input ELF machine type to @var{machine}. If
- @option{--input-mach} isn't specified, it will match any ELF
- machine types.
-@@ -4392,21 +4392,21 @@ machine types.
- The supported ELF machine types are, @var{L1OM}, @var{K1OM} and
- @var{x86-64}.
-
--@itemx --output-mach=@var{machine}
-+@item --output-mach=@var{machine}
- Change the ELF machine type in the ELF header to @var{machine}. The
- supported ELF machine types are the same as @option{--input-mach}.
-
--@itemx --input-type=@var{type}
-+@item --input-type=@var{type}
- Set the matching input ELF file type to @var{type}. If
- @option{--input-type} isn't specified, it will match any ELF file types.
-
- The supported ELF file types are, @var{rel}, @var{exec} and @var{dyn}.
-
--@itemx --output-type=@var{type}
-+@item --output-type=@var{type}
- Change the ELF file type in the ELF header to @var{type}. The
- supported ELF types are the same as @option{--input-type}.
-
--@itemx --input-osabi=@var{osabi}
-+@item --input-osabi=@var{osabi}
- Set the matching input ELF file OSABI to @var{osabi}. If
- @option{--input-osabi} isn't specified, it will match any ELF OSABIs.
-
-@@ -4416,7 +4416,7 @@ The supported ELF OSABIs are, @var{none}, @var{HPUX}, @var{NetBSD},
- @var{FreeBSD}, @var{TRU64}, @var{Modesto}, @var{OpenBSD}, @var{OpenVMS},
- @var{NSK}, @var{AROS} and @var{FenixOS}.
-
--@itemx --output-osabi=@var{osabi}
-+@item --output-osabi=@var{osabi}
- Change the ELF OSABI in the ELF header to @var{osabi}. The
- supported ELF OSABI are the same as @option{--input-osabi}.
-
-diff --git a/ld/ld.texinfo b/ld/ld.texinfo
-index c7ae2a5..4777ad5 100644
---- a/ld/ld.texinfo
-+++ b/ld/ld.texinfo
-@@ -142,12 +144,12 @@ in the section entitled ``GNU Free Documentation License''.
- @ifset ARM
- * ARM:: ld and the ARM family
- @end ifset
--@ifset HPPA
--* HPPA ELF32:: ld and HPPA 32-bit ELF
--@end ifset
- @ifset M68HC11
- * M68HC11/68HC12:: ld and the Motorola 68HC11 and 68HC12 families
- @end ifset
-+@ifset HPPA
-+* HPPA ELF32:: ld and HPPA 32-bit ELF
-+@end ifset
- @ifset M68K
- * M68K:: ld and Motorola 68K family
- @end ifset
-@@ -6012,6 +6014,9 @@ functionality are not listed.
- @ifset I960
- * i960:: @command{ld} and the Intel 960 family
- @end ifset
-+@ifset M68HC11
-+* M68HC11/68HC12:: @code{ld} and the Motorola 68HC11 and 68HC12 families
-+@end ifset
- @ifset ARM
- * ARM:: @command{ld} and the ARM family
- @end ifset
-@@ -6027,9 +6032,6 @@ functionality are not listed.
- @ifset MSP430
- * MSP430:: @command{ld} and MSP430
- @end ifset
--@ifset M68HC11
--* M68HC11/68HC12:: @code{ld} and the Motorola 68HC11 and 68HC12 families
--@end ifset
- @ifset POWERPC
- * PowerPC ELF32:: @command{ld} and PowerPC 32-bit ELF Support
- @end ifset
-@@ -7877,7 +7879,7 @@ If you have more than one @code{SECT} statement for the same
- @printindex cp
-
- @tex
--% I think something like @colophon should be in texinfo. In the
-+% I think something like @@colophon should be in texinfo. In the
- % meantime:
- \long\def\colophon{\hbox to0pt{}\vfill
- \centerline{The body of this manual is set in}
-@@ -7888,7 +7890,7 @@ If you have more than one @code{SECT} statement for the same
- \centerline{{\sl\fontname\tensl\/}}
- \centerline{are used for emphasis.}\vfill}
- \page\colophon
--% Blame: doc@cygnus.com, 28mar91.
-+% Blame: doc@@cygnus.com, 28mar91.
- @end tex
-
- @bye
---
-1.7.1
-
diff --git a/cross/xtensa-unknown-elf-binutils-lts/xtensa-unknown-elf-binutils.install b/cross/xtensa-unknown-elf-binutils-lts/xtensa-unknown-elf-binutils.install
deleted file mode 100644
index 9de0533ee..000000000
--- a/cross/xtensa-unknown-elf-binutils-lts/xtensa-unknown-elf-binutils.install
+++ /dev/null
@@ -1,17 +0,0 @@
-infodir=usr/share/info
-filelist=(as.info bfd.info binutils.info gprof.info ld.info)
-
-post_upgrade() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
diff --git a/cross/xtensa-unknown-elf-gcc-lts/PKGBUILD b/cross/xtensa-unknown-elf-gcc-lts/PKGBUILD
deleted file mode 100644
index 83b4f326b..000000000
--- a/cross/xtensa-unknown-elf-gcc-lts/PKGBUILD
+++ /dev/null
@@ -1,99 +0,0 @@
-# $Id: PKGBUILD 186915 2013-05-31 23:25:14Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
-
-_pkgname=gcc
-_target="xtensa-unknown-elf"
-_sysroot="/usr/$CHOST/${_target}"
-
-pkgname=${_target}-${_pkgname}-lts
-pkgver=4.7.2
-pkgrel=3
-pkgdesc="The GNU Compiler Collection for the Xtensa architecture"
-arch=('i686' 'x86_64' 'mips64el')
-license=('GPL' 'LGPL' 'FDL' 'custom')
-url="http://gcc.gnu.org"
-makedepends=("${_target}-binutils-lts>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
-checkdepends=('dejagnu' 'inetutils')
-provides=("${_target}-${_pkgname}")
-conflicts=("${_target}-${_pkgname}")
-options=('!libtool' '!emptydirs')
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
- https://raw.github.com/qca/open-ath9k-htc-firmware/1.3.2/local/patches/gcc.patch)
-
-md5sums=('cc308a0891e778cfda7a151ab8a6e762'
- '81372ee980289a9f6df01dad31c64a63')
-
-_basedir=gcc-${pkgver}
-
-prepare() {
- cd ${srcdir}/${_basedir}
-
- # open-ath9k-htc-firmware patch
- patch -p1 -i ${srcdir}/gcc.patch
-
- # Do not run fixincludes
- sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
-
- # Parabola installs x86_64 libraries /lib
- [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
-
- echo ${pkgver} > gcc/BASE-VER
-
- # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
-
- mkdir ${srcdir}/gcc-build
-
- # fix texinfo "@itemx" and "@item"
- sed -i "s|[@]itemx|@item|;" $(grep -rlI '[@]itemx' | grep .texi) $(grep -rlI '[@]itemx' | grep .txh)
-}
-
-build() {
- cd ${srcdir}/gcc-build
-
- ${srcdir}/${_basedir}/configure --prefix=/usr \
- --target=${_target} \
- --disable-multilib \
- --disable-nls \
- --disable-shared \
- --disable-threads \
- --enable-languages=c \
- --disable-libquadmath \
- --disable-libssp \
- --disable-werror \
- --libdir=/usr/lib --libexecdir=/usr/lib
-# --with-newlib \
-# --mandir=/usr/share/man --infodir=/usr/share/info \
-# --with-bugurl=https://labs.parabola.nu/ \
-# --disable-shared --enable-threads=posix \
-# --with-system-zlib --enable-__cxa_atexit \
-# --disable-libunwind-exceptions --enable-clocale=gnu \
-# --disable-libstdcxx-pch \
-# --enable-gnu-unique-object --enable-linker-build-id \
-# --enable-cloog-backend=isl --disable-cloog-version-check \
-# --enable-lto --enable-gold --enable-ld=default \
-# --enable-plugin --with-plugin-ld=ld.gold \
-# --with-linker-hash-style=gnu --disable-install-libiberty \
-# --enable-checking=release \
- make all-gcc
-}
-
-package() {
- pkgdesc="The GNU Compiler Collection for the Xtensa architecture"
- depends=("${_target}-binutils-lts>=2.23" 'libmpc' 'cloog')
- groups=("${_target}-devel")
- install=${_target}-gcc.install
-
- cd ${srcdir}/gcc-build
-
- make -j1 DESTDIR=${pkgdir} install-gcc
-
- # many packages expect this symlinks
- ln -s ${_target}-gcc ${pkgdir}/usr/bin/${_target}-cc
-
- # Remove unnecessary files and folders
- rm $pkgdir/usr/share/info/* && rmdir $pkgdir/usr/share/info
- rm $pkgdir/usr/share/man/man7/* && rmdir $pkgdir/usr/share/man/man7
-}
diff --git a/cross/xtensa-unknown-elf-gcc-lts/xtensa-unknown-elf-gcc.install b/cross/xtensa-unknown-elf-gcc-lts/xtensa-unknown-elf-gcc.install
deleted file mode 100644
index 3407a5e1f..000000000
--- a/cross/xtensa-unknown-elf-gcc-lts/xtensa-unknown-elf-gcc.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(cpp.info cppinternals.info gcc.info gccinstall.info gccint.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}