From c676c5c5a3d3882514483abea0a147817ff6d759 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 10 Jul 2013 22:23:24 -0300 Subject: move xtensa packages to ~coadde repo to use db-move to move it to cross repo from the server --- ~coadde/xtensa-unknown-elf-binutils/PKGBUILD | 68 +++++++++ .../binutils-2.23.2-texinfo-5.0.patch | 162 +++++++++++++++++++++ .../xtensa-unknown-elf-binutils.install | 17 +++ ~coadde/xtensa-unknown-elf-gcc/PKGBUILD | 88 +++++++++++ .../xtensa-unknown-elf-gcc.install | 20 +++ .../PKGBUILD | 47 ++++++ 6 files changed, 402 insertions(+) create mode 100644 ~coadde/xtensa-unknown-elf-binutils/PKGBUILD create mode 100644 ~coadde/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch create mode 100644 ~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install create mode 100644 ~coadde/xtensa-unknown-elf-gcc/PKGBUILD create mode 100644 ~coadde/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install create mode 100644 ~coadde/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD (limited to '~coadde') diff --git a/~coadde/xtensa-unknown-elf-binutils/PKGBUILD b/~coadde/xtensa-unknown-elf-binutils/PKGBUILD new file mode 100644 index 000000000..deb8d4b0e --- /dev/null +++ b/~coadde/xtensa-unknown-elf-binutils/PKGBUILD @@ -0,0 +1,68 @@ +# $Id: PKGBUILD 182407 2013-04-10 07:34:20Z allan $ +# Maintainer: Allan McRae +# Maintainer (Parabola): André Silva +# Maintainer (Parabola): Márcio Silva + +_pkgname=binutils +_target="xtensa-unknown-elf" + +pkgname=${_target}-binutils +pkgver=2.23.2 +pkgrel=2.4 +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') +options=('!libtool' '!distcc' '!ccache') +install=${_target}-binutils.install +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} + binutils-2.23.2-texinfo-5.0.patch) +md5sums=('4f8fa651e35ef262edc01d60fb45702e' + 'dfde4428f08d91f309cdcfe92bf28d08' + '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 + + # 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/~coadde/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch b/~coadde/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch new file mode 100644 index 000000000..38dc19fb0 --- /dev/null +++ b/~coadde/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch @@ -0,0 +1,162 @@ +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/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install b/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install new file mode 100644 index 000000000..9de0533ee --- /dev/null +++ b/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install @@ -0,0 +1,17 @@ +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/~coadde/xtensa-unknown-elf-gcc/PKGBUILD b/~coadde/xtensa-unknown-elf-gcc/PKGBUILD new file mode 100644 index 000000000..270dc6299 --- /dev/null +++ b/~coadde/xtensa-unknown-elf-gcc/PKGBUILD @@ -0,0 +1,88 @@ +# $Id: PKGBUILD 186915 2013-05-31 23:25:14Z allan $ +# Maintainer: Allan McRae +# Maintainer (Parabola): André Silva +# Contributor (Parabola): Márcio Silva + +_pkgname=gcc +_target="xtensa-unknown-elf" +_sysroot="/usr/$CHOST/${_target}" + +pkgname=${_target}-gcc +pkgver=4.8.1 +pkgrel=1.2 +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>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen') +checkdepends=('dejagnu' 'inetutils') +options=('!libtool' '!emptydirs') +source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2) +md5sums=('3b2386c114cd74185aa3754b58a79304') + +_basedir=gcc-${pkgver} + +prepare() { + cd ${srcdir}/${_basedir} + + # 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 +} + +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 \ + --with-newlib \ + --disable-werror \ + --libdir=/usr/lib --libexecdir=/usr/lib +# --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>=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/~coadde/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install b/~coadde/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install new file mode 100644 index 000000000..3407a5e1f --- /dev/null +++ b/~coadde/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install @@ -0,0 +1,20 @@ +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 +} diff --git a/~coadde/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD b/~coadde/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD new file mode 100644 index 000000000..5885001c0 --- /dev/null +++ b/~coadde/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 180857 2013-03-27 11:11:40Z allan $ +# Maintainer: Allan McRae +# Maintainer (Parabola): André Silva + +# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc +export ARCH=xtensa +_target=xtensa-unknown-elf +_sysroot="/usr/${_target}" + +pkgname=${_target}-linux-libre-api-headers +_basekernel=3.8 +_sublevel=4 +pkgver=${_basekernel}.${_sublevel} +pkgrel=1.3 +pkgdesc="Kernel headers sanitized for use in userspace for the Xtensa architecture" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.gnu.org/software/libc" +license=('GPL2') +provides=("${_target}-linux-api-headers=${pkgver}") +conflicts=("${_target}-linux-api-headers") +replaces=("${_target}-linux-api-headers" ) +source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" + "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz") +md5sums=('84c2a77910932ffc7d958744ac9cf2f5' + 'be610dd93dbe033cfe04018b27557c3e') + +build() { + cd ${srcdir}/linux-${_basekernel} + + if [ "${_basekernel}" != "${pkgver}" ]; then + patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu" + fi + + make mrproper + make headers_check +} + +package() { + cd ${srcdir}/linux-${_basekernel} + make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir} headers_install + + # use headers from libdrm + rm -r ${pkgdir}/include/drm + + # clean-up unnecessary files generated during install + find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete +} -- cgit v1.2.3 From 8189e7105a0ad6e0a295aa830a62cc9b7ede52b9 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 10 Jul 2013 22:31:27 -0300 Subject: back xtensa packages to cross repo --- cross/xtensa-unknown-elf-binutils/PKGBUILD | 68 +++++++++ .../binutils-2.23.2-texinfo-5.0.patch | 162 +++++++++++++++++++++ .../xtensa-unknown-elf-binutils.install | 17 +++ cross/xtensa-unknown-elf-gcc/PKGBUILD | 88 +++++++++++ .../xtensa-unknown-elf-gcc.install | 20 +++ .../PKGBUILD | 47 ++++++ ~coadde/xtensa-unknown-elf-binutils/PKGBUILD | 68 --------- .../binutils-2.23.2-texinfo-5.0.patch | 162 --------------------- .../xtensa-unknown-elf-binutils.install | 17 --- ~coadde/xtensa-unknown-elf-gcc/PKGBUILD | 88 ----------- .../xtensa-unknown-elf-gcc.install | 20 --- .../PKGBUILD | 47 ------ 12 files changed, 402 insertions(+), 402 deletions(-) create mode 100644 cross/xtensa-unknown-elf-binutils/PKGBUILD create mode 100644 cross/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch create mode 100644 cross/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install create mode 100644 cross/xtensa-unknown-elf-gcc/PKGBUILD create mode 100644 cross/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install create mode 100644 cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD delete mode 100644 ~coadde/xtensa-unknown-elf-binutils/PKGBUILD delete mode 100644 ~coadde/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch delete mode 100644 ~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install delete mode 100644 ~coadde/xtensa-unknown-elf-gcc/PKGBUILD delete mode 100644 ~coadde/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install delete mode 100644 ~coadde/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD (limited to '~coadde') diff --git a/cross/xtensa-unknown-elf-binutils/PKGBUILD b/cross/xtensa-unknown-elf-binutils/PKGBUILD new file mode 100644 index 000000000..deb8d4b0e --- /dev/null +++ b/cross/xtensa-unknown-elf-binutils/PKGBUILD @@ -0,0 +1,68 @@ +# $Id: PKGBUILD 182407 2013-04-10 07:34:20Z allan $ +# Maintainer: Allan McRae +# Maintainer (Parabola): André Silva +# Maintainer (Parabola): Márcio Silva + +_pkgname=binutils +_target="xtensa-unknown-elf" + +pkgname=${_target}-binutils +pkgver=2.23.2 +pkgrel=2.4 +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') +options=('!libtool' '!distcc' '!ccache') +install=${_target}-binutils.install +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} + binutils-2.23.2-texinfo-5.0.patch) +md5sums=('4f8fa651e35ef262edc01d60fb45702e' + 'dfde4428f08d91f309cdcfe92bf28d08' + '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 + + # 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/binutils-2.23.2-texinfo-5.0.patch b/cross/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch new file mode 100644 index 000000000..38dc19fb0 --- /dev/null +++ b/cross/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch @@ -0,0 +1,162 @@ +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/xtensa-unknown-elf-binutils.install b/cross/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install new file mode 100644 index 000000000..9de0533ee --- /dev/null +++ b/cross/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install @@ -0,0 +1,17 @@ +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/PKGBUILD b/cross/xtensa-unknown-elf-gcc/PKGBUILD new file mode 100644 index 000000000..270dc6299 --- /dev/null +++ b/cross/xtensa-unknown-elf-gcc/PKGBUILD @@ -0,0 +1,88 @@ +# $Id: PKGBUILD 186915 2013-05-31 23:25:14Z allan $ +# Maintainer: Allan McRae +# Maintainer (Parabola): André Silva +# Contributor (Parabola): Márcio Silva + +_pkgname=gcc +_target="xtensa-unknown-elf" +_sysroot="/usr/$CHOST/${_target}" + +pkgname=${_target}-gcc +pkgver=4.8.1 +pkgrel=1.2 +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>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen') +checkdepends=('dejagnu' 'inetutils') +options=('!libtool' '!emptydirs') +source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2) +md5sums=('3b2386c114cd74185aa3754b58a79304') + +_basedir=gcc-${pkgver} + +prepare() { + cd ${srcdir}/${_basedir} + + # 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 +} + +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 \ + --with-newlib \ + --disable-werror \ + --libdir=/usr/lib --libexecdir=/usr/lib +# --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>=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/xtensa-unknown-elf-gcc.install b/cross/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install new file mode 100644 index 000000000..3407a5e1f --- /dev/null +++ b/cross/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install @@ -0,0 +1,20 @@ +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 +} diff --git a/cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD b/cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD new file mode 100644 index 000000000..5885001c0 --- /dev/null +++ b/cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 180857 2013-03-27 11:11:40Z allan $ +# Maintainer: Allan McRae +# Maintainer (Parabola): André Silva + +# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc +export ARCH=xtensa +_target=xtensa-unknown-elf +_sysroot="/usr/${_target}" + +pkgname=${_target}-linux-libre-api-headers +_basekernel=3.8 +_sublevel=4 +pkgver=${_basekernel}.${_sublevel} +pkgrel=1.3 +pkgdesc="Kernel headers sanitized for use in userspace for the Xtensa architecture" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.gnu.org/software/libc" +license=('GPL2') +provides=("${_target}-linux-api-headers=${pkgver}") +conflicts=("${_target}-linux-api-headers") +replaces=("${_target}-linux-api-headers" ) +source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" + "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz") +md5sums=('84c2a77910932ffc7d958744ac9cf2f5' + 'be610dd93dbe033cfe04018b27557c3e') + +build() { + cd ${srcdir}/linux-${_basekernel} + + if [ "${_basekernel}" != "${pkgver}" ]; then + patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu" + fi + + make mrproper + make headers_check +} + +package() { + cd ${srcdir}/linux-${_basekernel} + make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir} headers_install + + # use headers from libdrm + rm -r ${pkgdir}/include/drm + + # clean-up unnecessary files generated during install + find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete +} diff --git a/~coadde/xtensa-unknown-elf-binutils/PKGBUILD b/~coadde/xtensa-unknown-elf-binutils/PKGBUILD deleted file mode 100644 index deb8d4b0e..000000000 --- a/~coadde/xtensa-unknown-elf-binutils/PKGBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# $Id: PKGBUILD 182407 2013-04-10 07:34:20Z allan $ -# Maintainer: Allan McRae -# Maintainer (Parabola): André Silva -# Maintainer (Parabola): Márcio Silva - -_pkgname=binutils -_target="xtensa-unknown-elf" - -pkgname=${_target}-binutils -pkgver=2.23.2 -pkgrel=2.4 -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') -options=('!libtool' '!distcc' '!ccache') -install=${_target}-binutils.install -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} - binutils-2.23.2-texinfo-5.0.patch) -md5sums=('4f8fa651e35ef262edc01d60fb45702e' - 'dfde4428f08d91f309cdcfe92bf28d08' - '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 - - # 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/~coadde/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch b/~coadde/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch deleted file mode 100644 index 38dc19fb0..000000000 --- a/~coadde/xtensa-unknown-elf-binutils/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/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install b/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install deleted file mode 100644 index 9de0533ee..000000000 --- a/~coadde/xtensa-unknown-elf-binutils/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/~coadde/xtensa-unknown-elf-gcc/PKGBUILD b/~coadde/xtensa-unknown-elf-gcc/PKGBUILD deleted file mode 100644 index 270dc6299..000000000 --- a/~coadde/xtensa-unknown-elf-gcc/PKGBUILD +++ /dev/null @@ -1,88 +0,0 @@ -# $Id: PKGBUILD 186915 2013-05-31 23:25:14Z allan $ -# Maintainer: Allan McRae -# Maintainer (Parabola): André Silva -# Contributor (Parabola): Márcio Silva - -_pkgname=gcc -_target="xtensa-unknown-elf" -_sysroot="/usr/$CHOST/${_target}" - -pkgname=${_target}-gcc -pkgver=4.8.1 -pkgrel=1.2 -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>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen') -checkdepends=('dejagnu' 'inetutils') -options=('!libtool' '!emptydirs') -source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2) -md5sums=('3b2386c114cd74185aa3754b58a79304') - -_basedir=gcc-${pkgver} - -prepare() { - cd ${srcdir}/${_basedir} - - # 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 -} - -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 \ - --with-newlib \ - --disable-werror \ - --libdir=/usr/lib --libexecdir=/usr/lib -# --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>=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/~coadde/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install b/~coadde/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install deleted file mode 100644 index 3407a5e1f..000000000 --- a/~coadde/xtensa-unknown-elf-gcc/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 -} diff --git a/~coadde/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD b/~coadde/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD deleted file mode 100644 index 5885001c0..000000000 --- a/~coadde/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# $Id: PKGBUILD 180857 2013-03-27 11:11:40Z allan $ -# Maintainer: Allan McRae -# Maintainer (Parabola): André Silva - -# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc -export ARCH=xtensa -_target=xtensa-unknown-elf -_sysroot="/usr/${_target}" - -pkgname=${_target}-linux-libre-api-headers -_basekernel=3.8 -_sublevel=4 -pkgver=${_basekernel}.${_sublevel} -pkgrel=1.3 -pkgdesc="Kernel headers sanitized for use in userspace for the Xtensa architecture" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.gnu.org/software/libc" -license=('GPL2') -provides=("${_target}-linux-api-headers=${pkgver}") -conflicts=("${_target}-linux-api-headers") -replaces=("${_target}-linux-api-headers" ) -source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" - "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz") -md5sums=('84c2a77910932ffc7d958744ac9cf2f5' - 'be610dd93dbe033cfe04018b27557c3e') - -build() { - cd ${srcdir}/linux-${_basekernel} - - if [ "${_basekernel}" != "${pkgver}" ]; then - patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu" - fi - - make mrproper - make headers_check -} - -package() { - cd ${srcdir}/linux-${_basekernel} - make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir} headers_install - - # use headers from libdrm - rm -r ${pkgdir}/include/drm - - # clean-up unnecessary files generated during install - find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete -} -- cgit v1.2.3 From 7c466735fb86bba16c9366629fe160ae2fd5c25d Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 05:45:30 -0300 Subject: cross-binutils: add pkgbuild to ~coadde repo, due this for testing --- ~coadde/cross-binutils/PKGBUILD | 307 +++++++++++++++++++++ ~coadde/cross-binutils/binutils.install | 17 ++ .../i586-pc-linux-gnu-binutils.install | 16 ++ .../i686-pc-linux-gnu-binutils.install | 16 ++ .../mips64el-unknown-linux-gnu-binutils.install | 16 ++ .../x86_64-unknown-linux-gnu-binutils.install | 16 ++ 6 files changed, 388 insertions(+) create mode 100644 ~coadde/cross-binutils/PKGBUILD create mode 100644 ~coadde/cross-binutils/binutils.install create mode 100644 ~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/i686-pc-linux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/x86_64-unknown-linux-gnu-binutils.install (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD new file mode 100644 index 000000000..9a3a4b521 --- /dev/null +++ b/~coadde/cross-binutils/PKGBUILD @@ -0,0 +1,307 @@ +# Maintainer: Márcio Silva +# Contributor: André Silva + +# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc + +_pkgname="binutils" + +#+-------------------+-----------------------+-------------+------------------------------+ +#| _CARCH | _os (GNU/Linux-libre) | _os (GNU) | _os (GNU/Linux-libre uClibc) | +#+-------------------+-----------------------+-------------+------------------------------+ +#| mips64el | unknown-linux-gnu | - | unknown-uclinux-gnu | +#| x86_64 | unknown-linux-gnu | unknown-gnu | unknown-uclinux-gnu | +#| i[65]86 | pc-linux-gnu | pc-gnu | unknown-uclinux-gnu | +#| aarch64{,_be} | unknown-linux-gnu | - | unknown-uclinux-gnu | +#| arm{,v[765]}{,eb} | unknown-linux-gnueabi | - | unknown-uclinux-gnueabi | +#| sparc64 | unknown-linux-gnu | - | - | +#| ia64 | unknown-linux-gnu | - | - | +#+-------------------+-----------------------+-------------+------------------------------+ + +#+----------------+--------------------+ +#| _CARCH | _os (ELF/EABI) | +#+----------------+--------------------+ +#| xtensa | unknown-elf | +#| mips64{,el} | unknown-elf | +#| mips32{,el} | unknown-elf | +#| x86_64 | unknown-elf | +#| i[653]86 | unknown-elf | +#| aarch64{,_be} | unknown-elf | +#| arm{,eb} | unknown-eabi | +#| powerpc64{,le} | unknown-{elf,eabi} | +#| powerpc32{,le} | unknown-{elf,eabi} | +#| sh64{,l} | unknown-elf | +#| sh{,l} | unknown-elf | +#| m68k | unknown-elf | +#+----------------+--------------------+ + +### Base FLAGS: ### +_CARCH="i686" +_os="pc-linux-gnu" +_target="${_CARCH}-${_os}" +_multilib="no" + +### Patch FLAGS: ### +_patch_ath9k_htc_fw="no" + +[[ ${_multilib} == "yes" ]] && { + _multilib_name="-multilib" + _multilib_desc=" for multilib" +} + +# For "_patch_ath9k_htc_fw" +[[ ${_patch_ath9k_htc_fw} == "yes" ]] && { + _ath9k_htc_name="-ath9k-htc" + _ath9k_htc_desc=" adapted for ath9k-htc firmware" + _multilib="no" +} + +pkgname=( + "${_target}-${_pkgname}${_multilib}${_ath9k_htc_name}" + "${_pkgname}-common" +) +pkgver=2.23.2 +pkgrel=2 +arch=('i686' 'x86_64' 'mips64el') +url="http://www.gnu.org/software/${_pkgname}/" +license=('GPL2') +groups=('cross-devel') +checkdepends=('dejagnu' 'bc') +[[ ${_multilib} == "yes" ]] && makedepends=('gcc-multilib') # makedepends=("$CHOST-gcc-multilib") # Make sure we compile this with gcc-multilib +options=('!libtool' '!distcc' '!ccache') +source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2{,.sig} + ${_pkgname}-2.23.2-texinfo-5.0.patch) +md5sums=('4f8fa651e35ef262edc01d60fb45702e' + 'dfde4428f08d91f309cdcfe92bf28d08' + '34e439ce23213a91e2af872dfbb5094c') + +[[ ${_patch_ath9k_htc_fw} == "yes" ]] && { + source+=("_patch_ath9k_htc_fw.patch::https://raw.github.com/qca/open-ath9k-htc-firmware/1.3.2/local/patches/${_pkgname}.patch") + md5sums+=('7077126d96e9a755a0eaddb5505efe68') +} + +prepare() { + cd ${srcdir}/${_pkgname}-${pkgver} + + msg "http://sourceware.org/git/?p=${_pkgname}.git;a=patch;h=e02bf935" + msg "http://sourceware.org/git/?p=${_pkgname}.git;a=patch;h=935f8542" + patch -p1 -i ${srcdir}/${_pkgname}-2.23.2-texinfo-5.0.patch + + [[ ${_patch_ath9k_htc_fw} == "yes" ]] && { + patch -p1 -i ${srcdir}/_patch_ath9k_htc_fw.patch + } + + msg "hack! - libiberty configure tests for header files using" "$CPP $CPPFLAGS" + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure + + mkdir -v ${srcdir}/${_pkgname}-build +} + +build() { + cd ${srcdir}/${_pkgname}-build + + msg "The 'lib64(lib)' and 'lib(lib32)' will be fixed on _target-binutils() on ldscripts files" + [[ $CARCH != ${_CARCH} ]] && _TARGET="--target=${_target}" + if [[ $CARCH == x86_64 || $CARCH == mips64el || $CARCH == aarch64 || $CARCH == aarch64_be || $CARCH == sparc64 || $CARCH == ia64 ]]; then + _LIB_PATH="--with-lib-path=/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib:/usr/${_target}/lib64:/usr/${_target}/lib" + else + _LIB_PATH="--with-lib-path=/usr/lib32:/usr/local/lib32:/usr/${_target}/lib32" + fi + + if [[ ${_multilib} == "yes" ]]; then + _MULTILIB='--enable-multilib' + else + _MULTILIB='--disable-multilib' + fi + + ${srcdir}/binutils-${pkgver}/configure --prefix=/opt/${pkgname[0]}/${pkgver} \ + $_TARGET $_LIB_PATH \ + --program-prefix=${_target}- \ + --with-bugurl=https://labs.parabola.nu/ \ + --enable-ld=default --enable-gold \ + --enable-plugins --enable-threads \ + --with-pic --enable-shared \ + --disable-werror ${_MULTILIB} + # !!! Disabled, due which problematic libretools (prepare() and build() with --bindir, --includedir and --datarootdir)" !!! + #--bindir=/usr/bin --includedir=/usr/include --datarootdir=/usr/share \ + + msg "Check the host environment and makes sure all the necessary tools are available" + make configure-host + + make tooldir=/opt/${pkgname[0]}/${pkgver} +} + +check() { + cd ${srcdir}/${_pkgname}-build + + msg "Unset LDFLAGS as testsuite makes assumptions about which ones are active" + msg "do not abort on errors - manually check log files" + make LDFLAGS="" -k check || true +} + +_target-binutils() { + pkgrel=$pkgrel + pkgdesc="A set of programs to assemble and manipulate binary and object files${_multilib_desc}${_ath9k_htc_desc}. (${_target} architecture)" + depends=('glibc>=2.17' 'zlib' "${_pkgname}-common") + [[ $CHOST == ${_target} ]] && provides=("${_pkgname}=${pkgver}") + if [[ ${_multilib} == "yes" ]]; then + conflicts=("${pkgname}") + groups+=('multilib-devel') + else + groups+=('base-devel') + fi + groups+=("${_target}-devel") + install="${_target}-${_pkgname}.install" + + cd ${srcdir}/${_pkgname}-build + make prefix=${pkgdir}/opt/${pkgname}/${pkgver} tooldir=${pkgdir}/opt/${pkgname}/${pkgver} install + + # temp # + msg "!!! Move 'bin', 'include' and 'share' dir to /usr, !!!" + msg "!!! due which problematic libretools ('prepare()' and 'build()' with --bindir, --includedir and --datarootdir) !!!" + install -vd ${pkgdir}/usr + if [[ $CARCH == ${_CARCH} ]]; then + mv -v ${pkgdir}/{opt/${pkgname}/${pkgver}/{bin,include,share},usr} + else + mv -v ${pkgdir}/{opt/${pkgname}/${pkgver}/{bin,$CHOST/${_target}/include,share},usr} + fi + # temp # + + [[ $CARCH != ${_CARCH} ]] && { + msg "Move 'lib' files and directories, and remove architecture directories" + mv -v ${pkgdir}/opt/${pkgname}/${pkgver}/{$CHOST/${_target}/lib/*,lib} + rmdir -v ${pkgdir}/opt/${pkgname}/${pkgver}/$CHOST/{${_target}/{lib,},} + } + + msg "Change lib-path on ldscripts files" + sed -i "/^SEARCH_DIR/ s|/${_target}/lib|/lib|g; + /^SEARCH_DIR/ s|/${pkgver}/lib|/${pkgver}/lib32|g; + /^SEARCH_DIR/ s|/${pkgver}/lib3264|/${pkgver}/lib|g; + /^SEARCH_DIR/ s|/${pkgver}/lib32x32|/${pkgver}/lib|g; + " ${pkgdir}/opt/${pkgname}/${pkgver}/lib/ldscripts/* + + _removebin=(ar as nm objcopy objdump ranlib strip) + for _rbin in ${_removebin[@]}; do + msg "Remove conflicting binaries" + rm -v ${pkgdir}/usr/bin/${_rbin[@]} + done + + msg "Create links for libraries" + install -vd ${pkgdir}/{usr/${_target},etc/ld.so.conf.d} + ln -vs ../../lib ${pkgdir}/usr/${_target}/lib + echo /opt/${pkgname}/${pkgver}/lib > ${pkgdir}/etc/ld.so.conf.d/${pkgname}-${pkgver}.conf + + msg "Install PIC libiberty.a" + install -vm644 libiberty/pic/libiberty.a ${pkgdir}/opt/${pkgname[0]}/${pkgver}/lib + + msg "Remove unnecessaries manuals and create links for manuals" + _man=$(ls -1A ${pkgdir}/usr/share/man/man1) + for _man_stage1 in ${_man[@]}; do + _man_stage2=${_man_stage1/-${pkgver}/} + _manuals=${_man_stage2/${_target}-/} + rm -v ${pkgdir}/usr/share/man/man1/${_man_stage1} + ln -vs ${_manuals}.gz ${pkgdir}/usr/share/man/man1/${_man_stage1}.gz + done + + msg "Remove unnecessaries files and directories" + rm -vr ${pkgdir}/usr/{include,share/{info,locale}} +} + +# GNU/Linux-libre with GNU C Library (glibc) +package_mips64el-unknown-linux-gnu-binutils() { _target-binutils; } +package_x86_64-unknown-linux-gnu-binutils() { _target-binutils; } +package_i686-pc-linux-gnu-binutils() { _target-binutils; } +package_i586-pc-linux-gnu-binutils() { _target-binutils; } +package_aarch64-unknown-linux-gnu-binutils() { _target-binutils; } +package_aarch64_be-unknown-linux-gnu-binutils() { _target-binutils; } +package_arm-unknown-linux-gnueabi-binutils() { _target-binutils; } +package_armeb-unknown-linux-gnueabi-binutils() { _target-binutils; } +package_armv7-unknown-linux-gnueabi-binutils() { _target-binutils; } +package_armv7eb-unknown-linux-gnueabi-binutils() { _target-binutils; } +package_armv6-unknown-linux-gnueabi-binutils() { _target-binutils; } +package_armv6eb-unknown-linux-gnueabi-binutils() { _target-binutils; } +package_armv5-unknown-linux-gnueabi-binutils() { _target-binutils; } +package_armv5eb-unknown-linux-gnueabi-binutils() { _target-binutils; } +package_sparc64-unknown-linux-gnu-binutils() { _target-binutils; } +package_ia64-unknown-linux-gnu-binutils() { _target-binutils; } + +# GNU +package_x86_64-unknown-gnu-binutils() { _target-binutils; } +package_i686-pc-gnu-binutils() { _target-binutils; } +package_i586-pc-gnu-binutils() { _target-binutils; } + +# GNU/Linux-libre with uClibc +package_mips64el-unknown-uclinux-gnu-binutils() { _target-binutils; } +package_x86_64-unknown-uclinux-gnu-binutils() { _target-binutils; } +package_i686-pc-uclinux-gnu-binutils() { _target-binutils; } +package_i586-pc-uclinux-gnu-binutils() { _target-binutils; } +package_aarch64-unknown-uclinux-gnu-binutils() { _target-binutils; } +package_arm-unknown-uclinux-gnueabi-binutils() { _target-binutils; } +package_armeb-unknown-uclinux-gnueabi-binutils() { _target-binutils; } +package_armv7-unknown-uclinux-gnueabi-binutils() { _target-binutils; } +package_armv7eb-unknown-uclinux-gnueabi-binutils() { _target-binutils; } +package_armv6-unknown-uclinux-gnueabi-binutils() { _target-binutils; } +package_armv6eb-unknown-uclinux-gnueabi-binutils() { _target-binutils; } +package_armv5-unknown-uclinux-gnueabi-binutils() { _target-binutils; } +package_armv5eb-unknown-uclinux-gnueabi-binutils() { _target-binutils; } + +# ELF or EABI only +package_xtensa-unknown-elf-binutils() { _target-binutils; } +package_xtensa-unknown-elf-binutils-ath9k_htc() { _target-binutils; } +package_mips64el-unknown-elf-binutils() { _target-binutils; } +package_mips64-unknown-elf-binutils() { _target-binutils; } +package_mips32el-unknown-elf-binutils() { _target-binutils; } +package_mips32-unknown-elf-binutils() { _target-binutils; } +package_x86_64-unknown-elf-binutils() { _target-binutils; } +package_i686-unknown-elf-binutils() { _target-binutils; } +package_i586-unknown-elf-binutils() { _target-binutils; } +package_i386-unknown-elf-binutils() { _target-binutils; } +package_aarch64-unknown-elf-binutils() { _target-binutils; } +package_aarch64_be-unknown-elf-binutils() { _target-binutils; } +package_arm-unknown-eabi-binutils() { _target-binutils; } +package_armeb-unknown-eabi-binutils() { _target-binutils; } +package_powerpc64-unknown-elf-binutils() { _target-binutils; } +package_powerpc64le-unknown-elf-binutils() { _target-binutils; } +package_powerpc32-unknown-elf-binutils() { _target-binutils; } +package_powerpc32le-unknown-elf-binutils() { _target-binutils; } +package_powerpc64-unknown-eabi-binutils() { _target-binutils; } +package_powerpc64le-unknown-eabi-binutils() { _target-binutils; } +package_powerpc32-unknown-eabi-binutils() { _target-binutils; } +package_powerpc32le-unknown-eabi-binutils() { _target-binutils; } +package_sh64-unknown-elf-binutils() { _target-binutils; } +package_sh64l-unknown-elf-binutils() { _target-binutils; } +package_sh-unknown-elf-binutils() { _target-binutils; } +package_shl-unknown-elf-binutils() { _target-binutils; } +package_m68k-unknown-elf-binutils() { _target-binutils; } + +package_binutils-common() { + pkgrel=$pkgrel + pkgdesc="A set of programs to assemble and manipulate binary and object files. (headers, docs and locales files only)" + arch=('any') + depends=('linktools') + install="${_pkgname}.install" + + cd ${srcdir}/${_pkgname}-build + make prefix=${pkgdir}/opt/${pkgname}/${pkgver} tooldir=${pkgdir}/opt/${pkgname}/${pkgver} install + + [[ $CARCH != ${_CARCH} ]] && { + msg "Move 'include' files and directories" + mv -v ${pkgdir}/opt/${pkgname}/${pkgver}/{$CHOST/${_target}/include,} + } + + msg "Add some useful headers" + install -vm644 ${srcdir}/${_pkgname}-${pkgver}/include/{demangle,libiberty}.h ${pkgdir}/opt/${pkgname}/${pkgver}/include + + msg "Remove unnecessaries files and directories" + rm -vr ${pkgdir}/opt/${pkgname}/${pkgver}/{bin,lib} + [[ $CARCH != ${_CARCH} ]] && { + rm -vr ${pkgdir}/opt/${pkgname}/${pkgver}/$CHOST + } + + msg "Rename manuals" + _man=$(ls -1A ${pkgdir}/opt/${pkgname}/${pkgver}/share/man/man1) + for _man_stage1 in ${_man[@]}; do + _man_stage2=${_man_stage1/-${pkgver}/} + _manuals=${_man_stage2/${_target}-/} + mv -v ${pkgdir}/opt/${pkgname}/${pkgver}/share/man/man1/{${_man_stage1},${_manuals}} + done +} diff --git a/~coadde/cross-binutils/binutils.install b/~coadde/cross-binutils/binutils.install new file mode 100644 index 000000000..9de0533ee --- /dev/null +++ b/~coadde/cross-binutils/binutils.install @@ -0,0 +1,17 @@ +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/~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install b/~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install new file mode 100644 index 000000000..f14abdfaa --- /dev/null +++ b/~coadde/cross-binutils/i586-pc-linux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i586-pc-linux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/i686-pc-linux-gnu-binutils.install b/~coadde/cross-binutils/i686-pc-linux-gnu-binutils.install new file mode 100644 index 000000000..a0498ff51 --- /dev/null +++ b/~coadde/cross-binutils/i686-pc-linux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i686-pc-linux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install new file mode 100644 index 000000000..21b4a2af2 --- /dev/null +++ b/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=mips64el-unknown-linux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/x86_64-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/x86_64-unknown-linux-gnu-binutils.install new file mode 100644 index 000000000..299a9675f --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-linux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-linux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} -- cgit v1.2.3 From 27dcaa78d84f40dc6254f3e731fb2af966c92bf4 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 06:04:45 -0300 Subject: cross-binutils: adding droped --program-suffix flag, and fixing 'binutils' and 'multilib' variables --- ~coadde/cross-binutils/PKGBUILD | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD index 9a3a4b521..e7d253ed2 100644 --- a/~coadde/cross-binutils/PKGBUILD +++ b/~coadde/cross-binutils/PKGBUILD @@ -3,8 +3,6 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc -_pkgname="binutils" - #+-------------------+-----------------------+-------------+------------------------------+ #| _CARCH | _os (GNU/Linux-libre) | _os (GNU) | _os (GNU/Linux-libre uClibc) | #+-------------------+-----------------------+-------------+------------------------------+ @@ -34,9 +32,11 @@ _pkgname="binutils" #| m68k | unknown-elf | #+----------------+--------------------+ +_pkgname="binutils" + ### Base FLAGS: ### -_CARCH="i686" -_os="pc-linux-gnu" +_CARCH="x86_64" +_os="unknown-linux-gnu" _target="${_CARCH}-${_os}" _multilib="no" @@ -56,7 +56,7 @@ _patch_ath9k_htc_fw="no" } pkgname=( - "${_target}-${_pkgname}${_multilib}${_ath9k_htc_name}" + "${_target}-${_pkgname}${_multilib_name}${_ath9k_htc_name}" "${_pkgname}-common" ) pkgver=2.23.2 @@ -113,9 +113,10 @@ build() { _MULTILIB='--disable-multilib' fi - ${srcdir}/binutils-${pkgver}/configure --prefix=/opt/${pkgname[0]}/${pkgver} \ + ${srcdir}/${_pkgname}-${pkgver}/configure --prefix=/opt/${pkgname[0]}/${pkgver} \ $_TARGET $_LIB_PATH \ --program-prefix=${_target}- \ + --program-suffix=${_multilib_name}${_ath9k_htc_name}-${pkgver} \ --with-bugurl=https://labs.parabola.nu/ \ --enable-ld=default --enable-gold \ --enable-plugins --enable-threads \ @@ -196,7 +197,7 @@ _target-binutils() { msg "Remove unnecessaries manuals and create links for manuals" _man=$(ls -1A ${pkgdir}/usr/share/man/man1) for _man_stage1 in ${_man[@]}; do - _man_stage2=${_man_stage1/-${pkgver}/} + _man_stage2=${_man_stage1/${_multilib_name}${_ath9k_htc_name}-${pkgver}/} _manuals=${_man_stage2/${_target}-/} rm -v ${pkgdir}/usr/share/man/man1/${_man_stage1} ln -vs ${_manuals}.gz ${pkgdir}/usr/share/man/man1/${_man_stage1}.gz @@ -300,7 +301,7 @@ package_binutils-common() { msg "Rename manuals" _man=$(ls -1A ${pkgdir}/opt/${pkgname}/${pkgver}/share/man/man1) for _man_stage1 in ${_man[@]}; do - _man_stage2=${_man_stage1/-${pkgver}/} + _man_stage2=${_man_stage1/${_multilib_name}${_ath9k_htc_name}-${pkgver}/} _manuals=${_man_stage2/${_target}-/} mv -v ${pkgdir}/opt/${pkgname}/${pkgver}/share/man/man1/{${_man_stage1},${_manuals}} done -- cgit v1.2.3 From 25f5c514c8f08b4c2d070e592c0d2901107bcea1 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 06:34:35 -0300 Subject: cross-binutils: fixing more 'multilib' variables --- ~coadde/cross-binutils/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 3 deletions(-) (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD index e7d253ed2..d5ca23da4 100644 --- a/~coadde/cross-binutils/PKGBUILD +++ b/~coadde/cross-binutils/PKGBUILD @@ -32,6 +32,8 @@ #| m68k | unknown-elf | #+----------------+--------------------+ +#--------------------------------------------------------------------------------------------------------------------------------------------- + _pkgname="binutils" ### Base FLAGS: ### @@ -43,11 +45,32 @@ _multilib="no" ### Patch FLAGS: ### _patch_ath9k_htc_fw="no" +#--------------------------------------------------------------------------------------------------------------------------------------------- + [[ ${_multilib} == "yes" ]] && { _multilib_name="-multilib" _multilib_desc=" for multilib" } +[[ ${_CARCH} == i686 || + ${_CARCH} == i586 || + ${_CARCH} == i386 || + ${_CARCH} == xtensa || + ${_CARCH} == mips32 || + ${_CARCH} == arm || + ${_CARCH} == armeb || + ${_CARCH} == armv7 || + ${_CARCH} == armv7eb || + ${_CARCH} == armv6 || + ${_CARCH} == armv6eb || + ${_CARCH} == armv5 || + ${_CARCH} == armv5eb || + ${_CARCH} == powerpc32 || + ${_CARCH} == powerpc32le || + ${_CARCH} == sh || + ${_CARCH} == shl || + ${_CARCH} == m68k ]] && _multilib="no" + # For "_patch_ath9k_htc_fw" [[ ${_patch_ath9k_htc_fw} == "yes" ]] && { _ath9k_htc_name="-ath9k-htc" @@ -55,6 +78,10 @@ _patch_ath9k_htc_fw="no" _multilib="no" } +[[ ${_CARCH} != xtensa ]] && _patch_ath9k_htc_fw="no" + +#--------------------------------------------------------------------------------------------------------------------------------------------- + pkgname=( "${_target}-${_pkgname}${_multilib_name}${_ath9k_htc_name}" "${_pkgname}-common" @@ -66,7 +93,8 @@ url="http://www.gnu.org/software/${_pkgname}/" license=('GPL2') groups=('cross-devel') checkdepends=('dejagnu' 'bc') -[[ ${_multilib} == "yes" ]] && makedepends=('gcc-multilib') # makedepends=("$CHOST-gcc-multilib") # Make sure we compile this with gcc-multilib +# Make sure we compile this with {$CHOST-,}gcc-multilib +[[ ${_multilib} == "yes" ]] && makedepends=('gcc-multilib') # makedepends=("$CHOST-gcc-multilib") options=('!libtool' '!distcc' '!ccache') source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2{,.sig} ${_pkgname}-2.23.2-texinfo-5.0.patch) @@ -79,6 +107,8 @@ md5sums=('4f8fa651e35ef262edc01d60fb45702e' md5sums+=('7077126d96e9a755a0eaddb5505efe68') } +#--------------------------------------------------------------------------------------------------------------------------------------------- + prepare() { cd ${srcdir}/${_pkgname}-${pkgver} @@ -96,12 +126,19 @@ prepare() { mkdir -v ${srcdir}/${_pkgname}-build } +#--------------------------------------------------------------------------------------------------------------------------------------------- + build() { cd ${srcdir}/${_pkgname}-build msg "The 'lib64(lib)' and 'lib(lib32)' will be fixed on _target-binutils() on ldscripts files" [[ $CARCH != ${_CARCH} ]] && _TARGET="--target=${_target}" - if [[ $CARCH == x86_64 || $CARCH == mips64el || $CARCH == aarch64 || $CARCH == aarch64_be || $CARCH == sparc64 || $CARCH == ia64 ]]; then + if [[ $CARCH == x86_64 || + $CARCH == mips64el || + $CARCH == aarch64 || + $CARCH == aarch64_be || + $CARCH == sparc64 || + $CARCH == ia64 ]]; then _LIB_PATH="--with-lib-path=/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib:/usr/${_target}/lib64:/usr/${_target}/lib" else _LIB_PATH="--with-lib-path=/usr/lib32:/usr/local/lib32:/usr/${_target}/lib32" @@ -131,6 +168,8 @@ build() { make tooldir=/opt/${pkgname[0]}/${pkgver} } +#--------------------------------------------------------------------------------------------------------------------------------------------- + check() { cd ${srcdir}/${_pkgname}-build @@ -139,13 +178,15 @@ check() { make LDFLAGS="" -k check || true } +#--------------------------------------------------------------------------------------------------------------------------------------------- + _target-binutils() { pkgrel=$pkgrel pkgdesc="A set of programs to assemble and manipulate binary and object files${_multilib_desc}${_ath9k_htc_desc}. (${_target} architecture)" depends=('glibc>=2.17' 'zlib' "${_pkgname}-common") [[ $CHOST == ${_target} ]] && provides=("${_pkgname}=${pkgver}") if [[ ${_multilib} == "yes" ]]; then - conflicts=("${pkgname}") + #conflicts=("${pkgname}") groups+=('multilib-devel') else groups+=('base-devel') @@ -207,6 +248,8 @@ _target-binutils() { rm -vr ${pkgdir}/usr/{include,share/{info,locale}} } +#--------------------------------------------------------------------------------------------------------------------------------------------- + # GNU/Linux-libre with GNU C Library (glibc) package_mips64el-unknown-linux-gnu-binutils() { _target-binutils; } package_x86_64-unknown-linux-gnu-binutils() { _target-binutils; } @@ -274,6 +317,8 @@ package_sh-unknown-elf-binutils() { _target-binutils; } package_shl-unknown-elf-binutils() { _target-binutils; } package_m68k-unknown-elf-binutils() { _target-binutils; } +#--------------------------------------------------------------------------------------------------------------------------------------------- + package_binutils-common() { pkgrel=$pkgrel pkgdesc="A set of programs to assemble and manipulate binary and object files. (headers, docs and locales files only)" -- cgit v1.2.3 From dac9999f3f85018009254b2a60c3419d94517715 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 06:41:27 -0300 Subject: cross-binutils: fixing 'multilib' error --- ~coadde/cross-binutils/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD index d5ca23da4..f7750d5ae 100644 --- a/~coadde/cross-binutils/PKGBUILD +++ b/~coadde/cross-binutils/PKGBUILD @@ -47,16 +47,17 @@ _patch_ath9k_htc_fw="no" #--------------------------------------------------------------------------------------------------------------------------------------------- +# For "_multilib" [[ ${_multilib} == "yes" ]] && { _multilib_name="-multilib" _multilib_desc=" for multilib" } - [[ ${_CARCH} == i686 || ${_CARCH} == i586 || ${_CARCH} == i386 || ${_CARCH} == xtensa || ${_CARCH} == mips32 || + ${_CARCH} == mips32el || ${_CARCH} == arm || ${_CARCH} == armeb || ${_CARCH} == armv7 || @@ -77,7 +78,6 @@ _patch_ath9k_htc_fw="no" _ath9k_htc_desc=" adapted for ath9k-htc firmware" _multilib="no" } - [[ ${_CARCH} != xtensa ]] && _patch_ath9k_htc_fw="no" #--------------------------------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3 From 9fb1c7dc4cc6eccb95a45ec62401d2b0d1eee6d1 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 07:39:23 -0300 Subject: cross-binutils: fixing library path --- ~coadde/cross-binutils/PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD index f7750d5ae..d13e82ca8 100644 --- a/~coadde/cross-binutils/PKGBUILD +++ b/~coadde/cross-binutils/PKGBUILD @@ -131,7 +131,6 @@ prepare() { build() { cd ${srcdir}/${_pkgname}-build - msg "The 'lib64(lib)' and 'lib(lib32)' will be fixed on _target-binutils() on ldscripts files" [[ $CARCH != ${_CARCH} ]] && _TARGET="--target=${_target}" if [[ $CARCH == x86_64 || $CARCH == mips64el || @@ -139,9 +138,9 @@ build() { $CARCH == aarch64_be || $CARCH == sparc64 || $CARCH == ia64 ]]; then - _LIB_PATH="--with-lib-path=/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib:/usr/${_target}/lib64:/usr/${_target}/lib" + _LIB_PATH="--with-lib-path=/usr/lib:/usr/lib32:/usr/local/lib:/usr/local/lib32:/usr/${_target}/lib:/usr/${_target}/lib32" else - _LIB_PATH="--with-lib-path=/usr/lib32:/usr/local/lib32:/usr/${_target}/lib32" + _LIB_PATH="--with-lib-path=/usr/lib:/usr/local/lib:/usr/${_target}/lib" fi if [[ ${_multilib} == "yes" ]]; then -- cgit v1.2.3 From ffcfbfe172c84c6d02b4317d52f9f24dbf2db798 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 08:37:37 -0300 Subject: cross-binutils: adding more packages_*-binutils*() --- ~coadde/cross-binutils/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD index d13e82ca8..61c2afdaa 100644 --- a/~coadde/cross-binutils/PKGBUILD +++ b/~coadde/cross-binutils/PKGBUILD @@ -251,11 +251,15 @@ _target-binutils() { # GNU/Linux-libre with GNU C Library (glibc) package_mips64el-unknown-linux-gnu-binutils() { _target-binutils; } +package_mips64el-unknown-linux-gnu-binutils-multilib() { _target-binutils; } package_x86_64-unknown-linux-gnu-binutils() { _target-binutils; } +package_x86_64-unknown-linux-gnu-binutils-multilib() { _target-binutils; } package_i686-pc-linux-gnu-binutils() { _target-binutils; } package_i586-pc-linux-gnu-binutils() { _target-binutils; } package_aarch64-unknown-linux-gnu-binutils() { _target-binutils; } +package_aarch64-unknown-linux-gnu-binutils-multilib() { _target-binutils; } package_aarch64_be-unknown-linux-gnu-binutils() { _target-binutils; } +package_aarch64_be-unknown-linux-gnu-binutils-multilib() { _target-binutils; } package_arm-unknown-linux-gnueabi-binutils() { _target-binutils; } package_armeb-unknown-linux-gnueabi-binutils() { _target-binutils; } package_armv7-unknown-linux-gnueabi-binutils() { _target-binutils; } @@ -265,19 +269,27 @@ package_armv6eb-unknown-linux-gnueabi-binutils() { _target-binutils; } package_armv5-unknown-linux-gnueabi-binutils() { _target-binutils; } package_armv5eb-unknown-linux-gnueabi-binutils() { _target-binutils; } package_sparc64-unknown-linux-gnu-binutils() { _target-binutils; } +package_sparc64-unknown-linux-gnu-binutils-multilib() { _target-binutils; } package_ia64-unknown-linux-gnu-binutils() { _target-binutils; } +package_ia64-unknown-linux-gnu-binutils-multilib() { _target-binutils; } # GNU package_x86_64-unknown-gnu-binutils() { _target-binutils; } +package_x86_64-unknown-gnu-binutils-multilib() { _target-binutils; } package_i686-pc-gnu-binutils() { _target-binutils; } package_i586-pc-gnu-binutils() { _target-binutils; } # GNU/Linux-libre with uClibc package_mips64el-unknown-uclinux-gnu-binutils() { _target-binutils; } +package_mips64el-unknown-uclinux-gnu-binutils-multilib() { _target-binutils; } package_x86_64-unknown-uclinux-gnu-binutils() { _target-binutils; } +package_x86_64-unknown-uclinux-gnu-binutils-multilib() { _target-binutils; } package_i686-pc-uclinux-gnu-binutils() { _target-binutils; } package_i586-pc-uclinux-gnu-binutils() { _target-binutils; } package_aarch64-unknown-uclinux-gnu-binutils() { _target-binutils; } +package_aarch64-unknown-uclinux-gnu-binutils-multilib() { _target-binutils; } +package_aarch64_be-unknown-uclinux-gnu-binutils() { _target-binutils; } +package_aarch64_be-unknown-uclinux-gnu-binutils-multilib() { _target-binutils; } package_arm-unknown-uclinux-gnueabi-binutils() { _target-binutils; } package_armeb-unknown-uclinux-gnueabi-binutils() { _target-binutils; } package_armv7-unknown-uclinux-gnueabi-binutils() { _target-binutils; } @@ -291,27 +303,38 @@ package_armv5eb-unknown-uclinux-gnueabi-binutils() { _target-binutils; } package_xtensa-unknown-elf-binutils() { _target-binutils; } package_xtensa-unknown-elf-binutils-ath9k_htc() { _target-binutils; } package_mips64el-unknown-elf-binutils() { _target-binutils; } +package_mips64el-unknown-elf-binutils-multilib() { _target-binutils; } package_mips64-unknown-elf-binutils() { _target-binutils; } +package_mips64-unknown-elf-binutils-multilib() { _target-binutils; } package_mips32el-unknown-elf-binutils() { _target-binutils; } package_mips32-unknown-elf-binutils() { _target-binutils; } package_x86_64-unknown-elf-binutils() { _target-binutils; } +package_x86_64-unknown-elf-binutils-multilib() { _target-binutils; } package_i686-unknown-elf-binutils() { _target-binutils; } package_i586-unknown-elf-binutils() { _target-binutils; } package_i386-unknown-elf-binutils() { _target-binutils; } package_aarch64-unknown-elf-binutils() { _target-binutils; } +package_aarch64-unknown-elf-binutils-multilib() { _target-binutils; } package_aarch64_be-unknown-elf-binutils() { _target-binutils; } +package_aarch64_be-unknown-elf-binutils-multilib() { _target-binutils; } package_arm-unknown-eabi-binutils() { _target-binutils; } package_armeb-unknown-eabi-binutils() { _target-binutils; } package_powerpc64-unknown-elf-binutils() { _target-binutils; } +package_powerpc64-unknown-elf-binutils-multilib() { _target-binutils; } package_powerpc64le-unknown-elf-binutils() { _target-binutils; } +package_powerpc64le-unknown-elf-binutils-multilib() { _target-binutils; } package_powerpc32-unknown-elf-binutils() { _target-binutils; } package_powerpc32le-unknown-elf-binutils() { _target-binutils; } package_powerpc64-unknown-eabi-binutils() { _target-binutils; } +package_powerpc64-unknown-eabi-binutils-multilib() { _target-binutils; } package_powerpc64le-unknown-eabi-binutils() { _target-binutils; } +package_powerpc64le-unknown-eabi-binutils-multilib() { _target-binutils; } package_powerpc32-unknown-eabi-binutils() { _target-binutils; } package_powerpc32le-unknown-eabi-binutils() { _target-binutils; } package_sh64-unknown-elf-binutils() { _target-binutils; } +package_sh64-unknown-elf-binutils-multilib() { _target-binutils; } package_sh64l-unknown-elf-binutils() { _target-binutils; } +package_sh64l-unknown-elf-binutils-multilib() { _target-binutils; } package_sh-unknown-elf-binutils() { _target-binutils; } package_shl-unknown-elf-binutils() { _target-binutils; } package_m68k-unknown-elf-binutils() { _target-binutils; } -- cgit v1.2.3 From d5657d08d254b172419dbca7e95d0ef1da06c123 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 08:48:05 -0300 Subject: cross-binutils: fixing /usr/${_target}/lib* path --- ~coadde/cross-binutils/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD index 61c2afdaa..1c7a9ba0b 100644 --- a/~coadde/cross-binutils/PKGBUILD +++ b/~coadde/cross-binutils/PKGBUILD @@ -214,7 +214,7 @@ _target-binutils() { } msg "Change lib-path on ldscripts files" - sed -i "/^SEARCH_DIR/ s|/${_target}/lib|/lib|g; + sed -i "/^SEARCH_DIR/ s|/${pkgver}/${_target}/lib|/${pkgver}/lib|g; /^SEARCH_DIR/ s|/${pkgver}/lib|/${pkgver}/lib32|g; /^SEARCH_DIR/ s|/${pkgver}/lib3264|/${pkgver}/lib|g; /^SEARCH_DIR/ s|/${pkgver}/lib32x32|/${pkgver}/lib|g; -- cgit v1.2.3 From d59d055313165380bae327a4f749666f8fed9e3c Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 08:51:46 -0300 Subject: cross-binutils: fixing ../lib path --- ~coadde/cross-binutils/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD index 1c7a9ba0b..767903167 100644 --- a/~coadde/cross-binutils/PKGBUILD +++ b/~coadde/cross-binutils/PKGBUILD @@ -228,7 +228,7 @@ _target-binutils() { msg "Create links for libraries" install -vd ${pkgdir}/{usr/${_target},etc/ld.so.conf.d} - ln -vs ../../lib ${pkgdir}/usr/${_target}/lib + ln -vs ../lib ${pkgdir}/usr/${_target}/lib echo /opt/${pkgname}/${pkgver}/lib > ${pkgdir}/etc/ld.so.conf.d/${pkgname}-${pkgver}.conf msg "Install PIC libiberty.a" -- cgit v1.2.3 From ae02ff8a59843a2c77737650d18fa36d0f2f5e08 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 22:27:21 -0300 Subject: cross-binutils: adding and fixing the *.install files --- ~coadde/cross-binutils/PKGBUILD | 3 +-- .../aarch64-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ .../cross-binutils/aarch64-unknown-elf-binutils.install | 16 ++++++++++++++++ .../aarch64-unknown-linux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../aarch64-unknown-linux-gnu-binutils.install | 16 ++++++++++++++++ ...aarch64-unknown-uclinux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../aarch64-unknown-uclinux-gnu-binutils.install | 16 ++++++++++++++++ .../aarch64_be-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ .../aarch64_be-unknown-elf-binutils.install | 16 ++++++++++++++++ ...arch64_be-unknown-linux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../aarch64_be-unknown-linux-gnu-binutils.install | 16 ++++++++++++++++ ...ch64_be-unknown-uclinux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../aarch64_be-unknown-uclinux-gnu-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/arm-unknown-eabi-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/arm-unknown-linux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/arm-unknown-uclinux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armeb-unknown-eabi-binutils.install | 16 ++++++++++++++++ .../cross-binutils/armeb-unknown-linux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armeb-unknown-uclinux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv5-unknown-linux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv5-unknown-uclinux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv5eb-unknown-linux-gnueabi.install | 16 ++++++++++++++++ .../armv5eb-unknown-uclinux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv6-unknown-linux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv6-unknown-uclinux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv6eb-unknown-linux-gnueabi.install | 16 ++++++++++++++++ .../armv6eb-unknown-uclinux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv7-unknown-linux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv7-unknown-uclinux-gnueabi.install | 16 ++++++++++++++++ .../cross-binutils/armv7eb-unknown-linux-gnueabi.install | 16 ++++++++++++++++ .../armv7eb-unknown-uclinux-gnueabi.install | 16 ++++++++++++++++ ~coadde/cross-binutils/i386-unknown-elf-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/i586-pc-gnu-binutils.install | 16 ++++++++++++++++ .../cross-binutils/i586-pc-uclinux-gnu-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/i586-unknown-elf-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/i686-pc-gnu-binutils.install | 16 ++++++++++++++++ .../cross-binutils/i686-pc-uclinux-gnu-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/i686-unknown-elf-binutils.install | 16 ++++++++++++++++ .../ia64-unknown-linux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../ia64-unknown-linux-gnu-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/m68k-unknown-elf-binutils.install | 16 ++++++++++++++++ .../cross-binutils/mips32-unknown-elf-binutils.install | 16 ++++++++++++++++ .../cross-binutils/mips32el-unknown-elf-binutils.install | 16 ++++++++++++++++ .../mips64-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ .../cross-binutils/mips64-unknown-elf-binutils.install | 16 ++++++++++++++++ .../mips64el-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ .../cross-binutils/mips64el-unknown-elf-binutils.install | 16 ++++++++++++++++ .../mips64el-unknown-linux-gnu-binutils-multilib.install | 16 ++++++++++++++++ ...ips64el-unknown-uclinux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../mips64el-unknown-uclinux-gnu-binutils.install | 16 ++++++++++++++++ .../powerpc32-unknown-eabi-binutils.install | 16 ++++++++++++++++ .../powerpc32-unknown-elf-binutils.install | 16 ++++++++++++++++ .../powerpc32le-unknown-eabi-binutils.install | 16 ++++++++++++++++ .../powerpc32le-unknown-elf-binutils.install | 16 ++++++++++++++++ .../powerpc64-unknown-eabi-binutils-multilib.install | 16 ++++++++++++++++ .../powerpc64-unknown-eabi-binutils.install | 16 ++++++++++++++++ .../powerpc64-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ .../powerpc64-unknown-elf-binutils.install | 16 ++++++++++++++++ .../powerpc64le-unknown-eabi-binutils-multilib.install | 16 ++++++++++++++++ .../powerpc64le-unknown-eabi-binutils.install | 16 ++++++++++++++++ .../powerpc64le-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ .../powerpc64le-unknown-elf-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/sh-unknown-elf-binutils.install | 16 ++++++++++++++++ .../sh64-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ ~coadde/cross-binutils/sh64-unknown-elf-binutils.install | 16 ++++++++++++++++ .../sh64l-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ .../cross-binutils/sh64l-unknown-elf-binutils.install | 16 ++++++++++++++++ ~coadde/cross-binutils/shl-unknown-elf-binutils.install | 16 ++++++++++++++++ .../sparc64-unknown-linux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../sparc64-unknown-linux-gnu-binutils.install | 16 ++++++++++++++++ .../x86_64-unknown-elf-binutils-multilib.install | 16 ++++++++++++++++ .../cross-binutils/x86_64-unknown-elf-binutils.install | 16 ++++++++++++++++ .../x86_64-unknown-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../cross-binutils/x86_64-unknown-gnu-binutils.install | 16 ++++++++++++++++ .../x86_64-unknown-linux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../x86_64-unknown-uclinux-gnu-binutils-multilib.install | 16 ++++++++++++++++ .../x86_64-unknown-uclinux-gnu-binutils.install | 16 ++++++++++++++++ .../xtensa-unknown-elf-binutils-ath9k-htc.install | 16 ++++++++++++++++ .../cross-binutils/xtensa-unknown-elf-binutils.install | 16 ++++++++++++++++ 79 files changed, 1249 insertions(+), 2 deletions(-) create mode 100644 ~coadde/cross-binutils/aarch64-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/aarch64-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/aarch64-unknown-uclinux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/aarch64-unknown-uclinux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/aarch64_be-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/aarch64_be-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/aarch64_be-unknown-linux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/aarch64_be-unknown-linux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/aarch64_be-unknown-uclinux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/aarch64_be-unknown-uclinux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/arm-unknown-eabi-binutils.install create mode 100644 ~coadde/cross-binutils/arm-unknown-linux-gnueabi.install create mode 100644 ~coadde/cross-binutils/arm-unknown-uclinux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armeb-unknown-eabi-binutils.install create mode 100644 ~coadde/cross-binutils/armeb-unknown-linux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armeb-unknown-uclinux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv5-unknown-linux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv5-unknown-uclinux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv5eb-unknown-linux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv5eb-unknown-uclinux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv6-unknown-linux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv6-unknown-uclinux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv6eb-unknown-linux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv6eb-unknown-uclinux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv7-unknown-linux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv7-unknown-uclinux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv7eb-unknown-linux-gnueabi.install create mode 100644 ~coadde/cross-binutils/armv7eb-unknown-uclinux-gnueabi.install create mode 100644 ~coadde/cross-binutils/i386-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/i586-pc-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/i586-pc-uclinux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/i586-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/i686-pc-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/i686-pc-uclinux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/i686-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/ia64-unknown-linux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/ia64-unknown-linux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/m68k-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/mips32-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/mips32el-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/mips64-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/mips64-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/mips64el-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/mips64el-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/mips64el-unknown-uclinux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/mips64el-unknown-uclinux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/powerpc32-unknown-eabi-binutils.install create mode 100644 ~coadde/cross-binutils/powerpc32-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/powerpc32le-unknown-eabi-binutils.install create mode 100644 ~coadde/cross-binutils/powerpc32le-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/powerpc64-unknown-eabi-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/powerpc64-unknown-eabi-binutils.install create mode 100644 ~coadde/cross-binutils/powerpc64-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/powerpc64-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/powerpc64le-unknown-eabi-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/powerpc64le-unknown-eabi-binutils.install create mode 100644 ~coadde/cross-binutils/powerpc64le-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/powerpc64le-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/sh-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/sh64-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/sh64-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/sh64l-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/sh64l-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/shl-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/sparc64-unknown-linux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/sparc64-unknown-linux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/x86_64-unknown-elf-binutils.install create mode 100644 ~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/x86_64-unknown-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/x86_64-unknown-linux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/x86_64-unknown-uclinux-gnu-binutils-multilib.install create mode 100644 ~coadde/cross-binutils/x86_64-unknown-uclinux-gnu-binutils.install create mode 100644 ~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install create mode 100644 ~coadde/cross-binutils/xtensa-unknown-elf-binutils.install (limited to '~coadde') diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD index 767903167..5f322af4f 100644 --- a/~coadde/cross-binutils/PKGBUILD +++ b/~coadde/cross-binutils/PKGBUILD @@ -185,13 +185,12 @@ _target-binutils() { depends=('glibc>=2.17' 'zlib' "${_pkgname}-common") [[ $CHOST == ${_target} ]] && provides=("${_pkgname}=${pkgver}") if [[ ${_multilib} == "yes" ]]; then - #conflicts=("${pkgname}") groups+=('multilib-devel') else groups+=('base-devel') fi groups+=("${_target}-devel") - install="${_target}-${_pkgname}.install" + install="${_target}-${_pkgname}${_multilib_name}${_ath9k_htc_name}.install" cd ${srcdir}/${_pkgname}-build make prefix=${pkgdir}/opt/${pkgname}/${pkgver} tooldir=${pkgdir}/opt/${pkgname}/${pkgver} install diff --git a/~coadde/cross-binutils/aarch64-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/aarch64-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..e2cb3892c --- /dev/null +++ b/~coadde/cross-binutils/aarch64-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=aarch64-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64-unknown-elf-binutils.install b/~coadde/cross-binutils/aarch64-unknown-elf-binutils.install new file mode 100644 index 000000000..7546e29a1 --- /dev/null +++ b/~coadde/cross-binutils/aarch64-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=aarch64-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install b/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install new file mode 100644 index 000000000..6f986cd41 --- /dev/null +++ b/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=aarch64-unknown-linux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils.install new file mode 100644 index 000000000..96d20da4a --- /dev/null +++ b/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=aarch64-unknown-linux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64-unknown-uclinux-gnu-binutils-multilib.install b/~coadde/cross-binutils/aarch64-unknown-uclinux-gnu-binutils-multilib.install new file mode 100644 index 000000000..0420b342a --- /dev/null +++ b/~coadde/cross-binutils/aarch64-unknown-uclinux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=aarch64-unknown-uclinux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64-unknown-uclinux-gnu-binutils.install b/~coadde/cross-binutils/aarch64-unknown-uclinux-gnu-binutils.install new file mode 100644 index 000000000..fa1e49875 --- /dev/null +++ b/~coadde/cross-binutils/aarch64-unknown-uclinux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=aarch64-unknown-uclinux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64_be-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/aarch64_be-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..ae71b8f32 --- /dev/null +++ b/~coadde/cross-binutils/aarch64_be-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=aarch64_be-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64_be-unknown-elf-binutils.install b/~coadde/cross-binutils/aarch64_be-unknown-elf-binutils.install new file mode 100644 index 000000000..886d38ddc --- /dev/null +++ b/~coadde/cross-binutils/aarch64_be-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=aarch64_be-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64_be-unknown-linux-gnu-binutils-multilib.install b/~coadde/cross-binutils/aarch64_be-unknown-linux-gnu-binutils-multilib.install new file mode 100644 index 000000000..21e87d4a6 --- /dev/null +++ b/~coadde/cross-binutils/aarch64_be-unknown-linux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=aarch64_be-unknown-linux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64_be-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/aarch64_be-unknown-linux-gnu-binutils.install new file mode 100644 index 000000000..7c040a1d1 --- /dev/null +++ b/~coadde/cross-binutils/aarch64_be-unknown-linux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=aarch64_be-unknown-linux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64_be-unknown-uclinux-gnu-binutils-multilib.install b/~coadde/cross-binutils/aarch64_be-unknown-uclinux-gnu-binutils-multilib.install new file mode 100644 index 000000000..8ecd22ed1 --- /dev/null +++ b/~coadde/cross-binutils/aarch64_be-unknown-uclinux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=aarch64_be-unknown-uclinux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/aarch64_be-unknown-uclinux-gnu-binutils.install b/~coadde/cross-binutils/aarch64_be-unknown-uclinux-gnu-binutils.install new file mode 100644 index 000000000..017efb727 --- /dev/null +++ b/~coadde/cross-binutils/aarch64_be-unknown-uclinux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=aarch64_be-unknown-uclinux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/arm-unknown-eabi-binutils.install b/~coadde/cross-binutils/arm-unknown-eabi-binutils.install new file mode 100644 index 000000000..2a5ac8d12 --- /dev/null +++ b/~coadde/cross-binutils/arm-unknown-eabi-binutils.install @@ -0,0 +1,16 @@ +_pkgname=arm-unknown-eabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/arm-unknown-linux-gnueabi.install b/~coadde/cross-binutils/arm-unknown-linux-gnueabi.install new file mode 100644 index 000000000..011cd2ae3 --- /dev/null +++ b/~coadde/cross-binutils/arm-unknown-linux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=arm-unknown-linux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/arm-unknown-uclinux-gnueabi.install b/~coadde/cross-binutils/arm-unknown-uclinux-gnueabi.install new file mode 100644 index 000000000..e7cee926c --- /dev/null +++ b/~coadde/cross-binutils/arm-unknown-uclinux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=arm-unknown-uclinux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armeb-unknown-eabi-binutils.install b/~coadde/cross-binutils/armeb-unknown-eabi-binutils.install new file mode 100644 index 000000000..363e4b477 --- /dev/null +++ b/~coadde/cross-binutils/armeb-unknown-eabi-binutils.install @@ -0,0 +1,16 @@ +_pkgname=armeb-unknown-eabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armeb-unknown-linux-gnueabi.install b/~coadde/cross-binutils/armeb-unknown-linux-gnueabi.install new file mode 100644 index 000000000..75fa9f797 --- /dev/null +++ b/~coadde/cross-binutils/armeb-unknown-linux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armeb-unknown-linux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armeb-unknown-uclinux-gnueabi.install b/~coadde/cross-binutils/armeb-unknown-uclinux-gnueabi.install new file mode 100644 index 000000000..b44e358f1 --- /dev/null +++ b/~coadde/cross-binutils/armeb-unknown-uclinux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armeb-unknown-uclinux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv5-unknown-linux-gnueabi.install b/~coadde/cross-binutils/armv5-unknown-linux-gnueabi.install new file mode 100644 index 000000000..afdc1ebc8 --- /dev/null +++ b/~coadde/cross-binutils/armv5-unknown-linux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv5-unknown-linux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv5-unknown-uclinux-gnueabi.install b/~coadde/cross-binutils/armv5-unknown-uclinux-gnueabi.install new file mode 100644 index 000000000..69faa8902 --- /dev/null +++ b/~coadde/cross-binutils/armv5-unknown-uclinux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv5-unknown-uclinux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv5eb-unknown-linux-gnueabi.install b/~coadde/cross-binutils/armv5eb-unknown-linux-gnueabi.install new file mode 100644 index 000000000..1b92d60a0 --- /dev/null +++ b/~coadde/cross-binutils/armv5eb-unknown-linux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv5eb-unknown-linux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv5eb-unknown-uclinux-gnueabi.install b/~coadde/cross-binutils/armv5eb-unknown-uclinux-gnueabi.install new file mode 100644 index 000000000..3370ab5b5 --- /dev/null +++ b/~coadde/cross-binutils/armv5eb-unknown-uclinux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv5eb-unknown-uclinux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv6-unknown-linux-gnueabi.install b/~coadde/cross-binutils/armv6-unknown-linux-gnueabi.install new file mode 100644 index 000000000..b5dcd7d38 --- /dev/null +++ b/~coadde/cross-binutils/armv6-unknown-linux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv6-unknown-linux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv6-unknown-uclinux-gnueabi.install b/~coadde/cross-binutils/armv6-unknown-uclinux-gnueabi.install new file mode 100644 index 000000000..63169847e --- /dev/null +++ b/~coadde/cross-binutils/armv6-unknown-uclinux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv6-unknown-uclinux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv6eb-unknown-linux-gnueabi.install b/~coadde/cross-binutils/armv6eb-unknown-linux-gnueabi.install new file mode 100644 index 000000000..72ea5a267 --- /dev/null +++ b/~coadde/cross-binutils/armv6eb-unknown-linux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv6eb-unknown-linux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv6eb-unknown-uclinux-gnueabi.install b/~coadde/cross-binutils/armv6eb-unknown-uclinux-gnueabi.install new file mode 100644 index 000000000..ba95c1b5d --- /dev/null +++ b/~coadde/cross-binutils/armv6eb-unknown-uclinux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv6eb-unknown-uclinux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv7-unknown-linux-gnueabi.install b/~coadde/cross-binutils/armv7-unknown-linux-gnueabi.install new file mode 100644 index 000000000..b0cadf5af --- /dev/null +++ b/~coadde/cross-binutils/armv7-unknown-linux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv7-unknown-linux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv7-unknown-uclinux-gnueabi.install b/~coadde/cross-binutils/armv7-unknown-uclinux-gnueabi.install new file mode 100644 index 000000000..42f2d1cea --- /dev/null +++ b/~coadde/cross-binutils/armv7-unknown-uclinux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv7-unknown-uclinux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv7eb-unknown-linux-gnueabi.install b/~coadde/cross-binutils/armv7eb-unknown-linux-gnueabi.install new file mode 100644 index 000000000..b4510863d --- /dev/null +++ b/~coadde/cross-binutils/armv7eb-unknown-linux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv7eb-unknown-linux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/armv7eb-unknown-uclinux-gnueabi.install b/~coadde/cross-binutils/armv7eb-unknown-uclinux-gnueabi.install new file mode 100644 index 000000000..faa3e3b77 --- /dev/null +++ b/~coadde/cross-binutils/armv7eb-unknown-uclinux-gnueabi.install @@ -0,0 +1,16 @@ +_pkgname=armv7eb-unknown-uclinux-gnueabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/i386-unknown-elf-binutils.install b/~coadde/cross-binutils/i386-unknown-elf-binutils.install new file mode 100644 index 000000000..572ecca6e --- /dev/null +++ b/~coadde/cross-binutils/i386-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i386-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/i586-pc-gnu-binutils.install b/~coadde/cross-binutils/i586-pc-gnu-binutils.install new file mode 100644 index 000000000..6e4dac15d --- /dev/null +++ b/~coadde/cross-binutils/i586-pc-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i586-pc-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/i586-pc-uclinux-gnu-binutils.install b/~coadde/cross-binutils/i586-pc-uclinux-gnu-binutils.install new file mode 100644 index 000000000..2729ec574 --- /dev/null +++ b/~coadde/cross-binutils/i586-pc-uclinux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i586-pc-uclinux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/i586-unknown-elf-binutils.install b/~coadde/cross-binutils/i586-unknown-elf-binutils.install new file mode 100644 index 000000000..4c55c2c6e --- /dev/null +++ b/~coadde/cross-binutils/i586-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i586-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/i686-pc-gnu-binutils.install b/~coadde/cross-binutils/i686-pc-gnu-binutils.install new file mode 100644 index 000000000..1fbfac209 --- /dev/null +++ b/~coadde/cross-binutils/i686-pc-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i686-pc-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/i686-pc-uclinux-gnu-binutils.install b/~coadde/cross-binutils/i686-pc-uclinux-gnu-binutils.install new file mode 100644 index 000000000..04ece7396 --- /dev/null +++ b/~coadde/cross-binutils/i686-pc-uclinux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i686-pc-uclinux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/i686-unknown-elf-binutils.install b/~coadde/cross-binutils/i686-unknown-elf-binutils.install new file mode 100644 index 000000000..f92849138 --- /dev/null +++ b/~coadde/cross-binutils/i686-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=i686-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/ia64-unknown-linux-gnu-binutils-multilib.install b/~coadde/cross-binutils/ia64-unknown-linux-gnu-binutils-multilib.install new file mode 100644 index 000000000..a31a76a41 --- /dev/null +++ b/~coadde/cross-binutils/ia64-unknown-linux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=ia64-unknown-linux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/ia64-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/ia64-unknown-linux-gnu-binutils.install new file mode 100644 index 000000000..9853a7dce --- /dev/null +++ b/~coadde/cross-binutils/ia64-unknown-linux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=ia64-unknown-linux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/m68k-unknown-elf-binutils.install b/~coadde/cross-binutils/m68k-unknown-elf-binutils.install new file mode 100644 index 000000000..b45dcea38 --- /dev/null +++ b/~coadde/cross-binutils/m68k-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=m68k-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips32-unknown-elf-binutils.install b/~coadde/cross-binutils/mips32-unknown-elf-binutils.install new file mode 100644 index 000000000..c16855af8 --- /dev/null +++ b/~coadde/cross-binutils/mips32-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=mips32-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips32el-unknown-elf-binutils.install b/~coadde/cross-binutils/mips32el-unknown-elf-binutils.install new file mode 100644 index 000000000..83ef0456f --- /dev/null +++ b/~coadde/cross-binutils/mips32el-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=mips32el-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips64-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/mips64-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..e24e260f6 --- /dev/null +++ b/~coadde/cross-binutils/mips64-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=mips64-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips64-unknown-elf-binutils.install b/~coadde/cross-binutils/mips64-unknown-elf-binutils.install new file mode 100644 index 000000000..8e5e0a192 --- /dev/null +++ b/~coadde/cross-binutils/mips64-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=mips64-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips64el-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/mips64el-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..201c805dd --- /dev/null +++ b/~coadde/cross-binutils/mips64el-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=mips64el-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips64el-unknown-elf-binutils.install b/~coadde/cross-binutils/mips64el-unknown-elf-binutils.install new file mode 100644 index 000000000..ab338a443 --- /dev/null +++ b/~coadde/cross-binutils/mips64el-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=mips64el-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils-multilib.install b/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils-multilib.install new file mode 100644 index 000000000..cff96a72a --- /dev/null +++ b/~coadde/cross-binutils/mips64el-unknown-linux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=mips64el-unknown-linux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips64el-unknown-uclinux-gnu-binutils-multilib.install b/~coadde/cross-binutils/mips64el-unknown-uclinux-gnu-binutils-multilib.install new file mode 100644 index 000000000..b633641d5 --- /dev/null +++ b/~coadde/cross-binutils/mips64el-unknown-uclinux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=mips64el-unknown-uclinux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/mips64el-unknown-uclinux-gnu-binutils.install b/~coadde/cross-binutils/mips64el-unknown-uclinux-gnu-binutils.install new file mode 100644 index 000000000..29094da95 --- /dev/null +++ b/~coadde/cross-binutils/mips64el-unknown-uclinux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=mips64el-unknown-uclinux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc32-unknown-eabi-binutils.install b/~coadde/cross-binutils/powerpc32-unknown-eabi-binutils.install new file mode 100644 index 000000000..6db625881 --- /dev/null +++ b/~coadde/cross-binutils/powerpc32-unknown-eabi-binutils.install @@ -0,0 +1,16 @@ +_pkgname=powerpc32-unknown-eabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc32-unknown-elf-binutils.install b/~coadde/cross-binutils/powerpc32-unknown-elf-binutils.install new file mode 100644 index 000000000..dcc691e53 --- /dev/null +++ b/~coadde/cross-binutils/powerpc32-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=powerpc32-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc32le-unknown-eabi-binutils.install b/~coadde/cross-binutils/powerpc32le-unknown-eabi-binutils.install new file mode 100644 index 000000000..dd55db2d7 --- /dev/null +++ b/~coadde/cross-binutils/powerpc32le-unknown-eabi-binutils.install @@ -0,0 +1,16 @@ +_pkgname=powerpc32le-unknown-eabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc32le-unknown-elf-binutils.install b/~coadde/cross-binutils/powerpc32le-unknown-elf-binutils.install new file mode 100644 index 000000000..d304b6799 --- /dev/null +++ b/~coadde/cross-binutils/powerpc32le-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=powerpc32le-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc64-unknown-eabi-binutils-multilib.install b/~coadde/cross-binutils/powerpc64-unknown-eabi-binutils-multilib.install new file mode 100644 index 000000000..0c1b1d7b8 --- /dev/null +++ b/~coadde/cross-binutils/powerpc64-unknown-eabi-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=powerpc64-unknown-eabi-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc64-unknown-eabi-binutils.install b/~coadde/cross-binutils/powerpc64-unknown-eabi-binutils.install new file mode 100644 index 000000000..2e3ca0474 --- /dev/null +++ b/~coadde/cross-binutils/powerpc64-unknown-eabi-binutils.install @@ -0,0 +1,16 @@ +_pkgname=powerpc64-unknown-eabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc64-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/powerpc64-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..4000bde4f --- /dev/null +++ b/~coadde/cross-binutils/powerpc64-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=powerpc64-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc64-unknown-elf-binutils.install b/~coadde/cross-binutils/powerpc64-unknown-elf-binutils.install new file mode 100644 index 000000000..f9d4ff394 --- /dev/null +++ b/~coadde/cross-binutils/powerpc64-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=powerpc64-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc64le-unknown-eabi-binutils-multilib.install b/~coadde/cross-binutils/powerpc64le-unknown-eabi-binutils-multilib.install new file mode 100644 index 000000000..0b6f6c848 --- /dev/null +++ b/~coadde/cross-binutils/powerpc64le-unknown-eabi-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=powerpc64le-unknown-eabi-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc64le-unknown-eabi-binutils.install b/~coadde/cross-binutils/powerpc64le-unknown-eabi-binutils.install new file mode 100644 index 000000000..3798f1bfe --- /dev/null +++ b/~coadde/cross-binutils/powerpc64le-unknown-eabi-binutils.install @@ -0,0 +1,16 @@ +_pkgname=powerpc64le-unknown-eabi-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc64le-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/powerpc64le-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..1e30719bf --- /dev/null +++ b/~coadde/cross-binutils/powerpc64le-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=powerpc64le-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/powerpc64le-unknown-elf-binutils.install b/~coadde/cross-binutils/powerpc64le-unknown-elf-binutils.install new file mode 100644 index 000000000..891b7f85b --- /dev/null +++ b/~coadde/cross-binutils/powerpc64le-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=powerpc64le-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/sh-unknown-elf-binutils.install b/~coadde/cross-binutils/sh-unknown-elf-binutils.install new file mode 100644 index 000000000..20d123559 --- /dev/null +++ b/~coadde/cross-binutils/sh-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=sh-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/sh64-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/sh64-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..1f11dabbb --- /dev/null +++ b/~coadde/cross-binutils/sh64-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=sh64-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/sh64-unknown-elf-binutils.install b/~coadde/cross-binutils/sh64-unknown-elf-binutils.install new file mode 100644 index 000000000..04ee63c8c --- /dev/null +++ b/~coadde/cross-binutils/sh64-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=sh64-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/sh64l-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/sh64l-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..6e01ac61e --- /dev/null +++ b/~coadde/cross-binutils/sh64l-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=sh64l-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/sh64l-unknown-elf-binutils.install b/~coadde/cross-binutils/sh64l-unknown-elf-binutils.install new file mode 100644 index 000000000..ab95b36ec --- /dev/null +++ b/~coadde/cross-binutils/sh64l-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=sh64l-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/shl-unknown-elf-binutils.install b/~coadde/cross-binutils/shl-unknown-elf-binutils.install new file mode 100644 index 000000000..cdb30916b --- /dev/null +++ b/~coadde/cross-binutils/shl-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=shl-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/sparc64-unknown-linux-gnu-binutils-multilib.install b/~coadde/cross-binutils/sparc64-unknown-linux-gnu-binutils-multilib.install new file mode 100644 index 000000000..d0aff2a85 --- /dev/null +++ b/~coadde/cross-binutils/sparc64-unknown-linux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=sparc64-unknown-linux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/sparc64-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/sparc64-unknown-linux-gnu-binutils.install new file mode 100644 index 000000000..2d24404e5 --- /dev/null +++ b/~coadde/cross-binutils/sparc64-unknown-linux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=sparc64-unknown-linux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install new file mode 100644 index 000000000..dcf66e30a --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-elf-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/x86_64-unknown-elf-binutils.install b/~coadde/cross-binutils/x86_64-unknown-elf-binutils.install new file mode 100644 index 000000000..779e65ab3 --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install b/~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install new file mode 100644 index 000000000..7c682ba82 --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/x86_64-unknown-gnu-binutils.install b/~coadde/cross-binutils/x86_64-unknown-gnu-binutils.install new file mode 100644 index 000000000..102a11fd0 --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/x86_64-unknown-linux-gnu-binutils-multilib.install b/~coadde/cross-binutils/x86_64-unknown-linux-gnu-binutils-multilib.install new file mode 100644 index 000000000..96140638c --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-linux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-linux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/x86_64-unknown-uclinux-gnu-binutils-multilib.install b/~coadde/cross-binutils/x86_64-unknown-uclinux-gnu-binutils-multilib.install new file mode 100644 index 000000000..69bbb9180 --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-uclinux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-uclinux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/x86_64-unknown-uclinux-gnu-binutils.install b/~coadde/cross-binutils/x86_64-unknown-uclinux-gnu-binutils.install new file mode 100644 index 000000000..0a16733a9 --- /dev/null +++ b/~coadde/cross-binutils/x86_64-unknown-uclinux-gnu-binutils.install @@ -0,0 +1,16 @@ +_pkgname=x86_64-unknown-uclinux-gnu-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install b/~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install new file mode 100644 index 000000000..643379261 --- /dev/null +++ b/~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install @@ -0,0 +1,16 @@ +_pkgname=xtensa-unknown-elf-binutils-ath9k-htc + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} diff --git a/~coadde/cross-binutils/xtensa-unknown-elf-binutils.install b/~coadde/cross-binutils/xtensa-unknown-elf-binutils.install new file mode 100644 index 000000000..120b40b1b --- /dev/null +++ b/~coadde/cross-binutils/xtensa-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=xtensa-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} -- cgit v1.2.3