diff options
Diffstat (limited to 'cross/xtensa-unknown-elf-binutils/PKGBUILD')
-rw-r--r-- | cross/xtensa-unknown-elf-binutils/PKGBUILD | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/cross/xtensa-unknown-elf-binutils/PKGBUILD b/cross/xtensa-unknown-elf-binutils/PKGBUILD index 7b864eeb6..76d6bda78 100644 --- a/cross/xtensa-unknown-elf-binutils/PKGBUILD +++ b/cross/xtensa-unknown-elf-binutils/PKGBUILD @@ -1,20 +1,23 @@ # $Id: PKGBUILD 182407 2013-04-10 07:34:20Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Maintainer (Parabola): André Silva <emulatorman@parabola.nu> -# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> +# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu> +# Contributor (Parabola): Taro <taro-k@movasense.com> _pkgname=binutils _target="xtensa-unknown-elf" pkgname=${_target}-${_pkgname} pkgver=2.23.2 -pkgrel=2.5 +pkgrel=2.7 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') +conflicts=binutils +provides="binutils=2.24" options=('!libtool' '!distcc' '!ccache') install=${_target}-binutils.install source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} @@ -70,4 +73,22 @@ package() { 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 + + # many packages expect those symlinks + ln -s ${_target}-addr2line $pkgdir/usr/bin/addr2line + ln -s ${_target}-ar $pkgdir/usr/bin/ar + ln -s ${_target}-as $pkgdir/usr/bin/as + ln -s ${_target}-c++filt $pkgdir/usr/bin/c++filt + ln -s ${_target}-elfedit $pkgdir/usr/bin/elfedit + ln -s ${_target}-gprof $pkgdir/usr/bin/gprof + ln -s ${_target}-ld $pkgdir/usr/bin/ld + ln -s ${_target}-ld.bfd $pkgdir/usr/bin/ld.bfd + ln -s ${_target}-nm $pkgdir/usr/bin/nm + ln -s ${_target}-objcopy $pkgdir/usr/bin/objcopy + ln -s ${_target}-objdump $pkgdir/usr/bin/objdump + ln -s ${_target}-ranlib $pkgdir/usr/bin/ranlib + ln -s ${_target}-readelf $pkgdir/usr/bin/readelf + ln -s ${_target}-size $pkgdir/usr/bin/size + ln -s ${_target}-strings $pkgdir/usr/bin/strings + ln -s ${_target}-strip $pkgdir/usr/bin/strip } |