summaryrefslogtreecommitdiff
path: root/community/arm-elf-binutils
diff options
context:
space:
mode:
Diffstat (limited to 'community/arm-elf-binutils')
-rw-r--r--community/arm-elf-binutils/PKGBUILD54
1 files changed, 0 insertions, 54 deletions
diff --git a/community/arm-elf-binutils/PKGBUILD b/community/arm-elf-binutils/PKGBUILD
deleted file mode 100644
index 15768e09e..000000000
--- a/community/arm-elf-binutils/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 79080 2012-10-30 09:53:07Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=arm-elf-binutils
-pkgver=2.23
-pkgrel=1
-_xprefix=/usr
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=(i686 x86_64)
-license=(GPL)
-options=(!libtool)
-url="http://sources.redhat.com/binutils"
-depends=('glibc' 'zlib')
-source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz)
-md5sums=('ed58f50d8920c3f1d9cb110d5c972c27')
-
-build() {
- cd $srcdir/binutils-${pkgver}
-
- [ $NOEXTRACT -eq 1 ] || ./configure --prefix=${_xprefix} \
- --program-prefix=arm-elf- \
- --enable-shared \
- --disable-multilib \
- --with-lib-path=${_xprefix}/lib/binutils/arm-elf \
- --disable-nls \
- --target=arm-elf \
- --host=$CHOST \
- --build=$CHOST \
- --with-sysroot=/usr/$CHOST/arm-elf \
-# --with-build-sysroot=/usr/i686-pc-linux-gnu/arm-elf/
-
-# mkdir -p $pkgdir/${_xprefix}/lib/binutils
-# sed -i 's|know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));|{know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));}|' gas/config/tc-arm.c
-
- make configure-host
- make tooldir=$pkgdir/${_xprefix}
- make prefix=$pkgdir/${_xprefix} tooldir=$pkgdir/${_xprefix} install
-
- mkdir -p $pkgdir/${_xprefix}/lib/binutils/arm-elf
- cp -v include/libiberty.h $pkgdir/${_xprefix}/lib/binutils/arm-elf
-
- rm -f $pkgdir/${_xprefix}/man/man1/{dlltool,nlmconv,windres}*
-
- rm -f $pkgdir/usr/bin/ar
- rm -f $pkgdir/usr/bin/as
- rm -f $pkgdir/usr/bin/ld
- rm -f $pkgdir/usr/bin/nm
- rm -f $pkgdir/usr/bin/objdump
- rm -f $pkgdir/usr/bin/ranlib
- rm -f $pkgdir/usr/bin/strip
- rm -f $pkgdir/usr/bin/objcopy
- rm -f $pkgdir/usr/lib/libiberty.a
- rm -rf $pkgdir/usr/share
-}