From: Victor Martinez Date: Thu, 26 May 2016 08:58:32 +0000 (+0200) Subject: binutils: added overlayed port X-Git-Url: http://gitweb/?a=commitdiff_plain;h=507906a0ef9ff867a0eaca7327412b745e17b4cf;p=ports%2Fpine64-arm.git binutils: added overlayed port --- diff --git a/binutils/.footprint b/binutils/.footprint new file mode 100644 index 0000000..76bb8c6 --- /dev/null +++ b/binutils/.footprint @@ -0,0 +1,194 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/addr2line +-rwxr-xr-x root/root usr/bin/ar +-rwxr-xr-x root/root usr/bin/as +-rwxr-xr-x root/root usr/bin/c++filt +-rwxr-xr-x root/root usr/bin/dwp +-rwxr-xr-x root/root usr/bin/elfedit +-rwxr-xr-x root/root usr/bin/gprof +-rwxr-xr-x root/root usr/bin/ld +-rwxr-xr-x root/root usr/bin/ld.bfd +-rwxr-xr-x root/root usr/bin/ld.gold +-rwxr-xr-x root/root usr/bin/nm +-rwxr-xr-x root/root usr/bin/objcopy +-rwxr-xr-x root/root usr/bin/objdump +-rwxr-xr-x root/root usr/bin/ranlib +-rwxr-xr-x root/root usr/bin/readelf +-rwxr-xr-x root/root usr/bin/size +-rwxr-xr-x root/root usr/bin/strings +-rwxr-xr-x root/root usr/bin/strip +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/ansidecl.h +-rw-r--r-- root/root usr/include/bfd.h +-rw-r--r-- root/root usr/include/bfdlink.h +-rw-r--r-- root/root usr/include/dis-asm.h +-rw-r--r-- root/root usr/include/libiberty.h +-rw-r--r-- root/root usr/include/plugin-api.h +-rw-r--r-- root/root usr/include/symcat.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/ldscripts/ +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xw +-rw-r--r-- root/root usr/lib/ldscripts/armelf.x +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xbn +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xc +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xn +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xr +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xs +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xsc +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xsw +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xu +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xw +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.x +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xbn +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xc +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xd +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xdc +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xdw +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xn +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xr +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xs +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xsc +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xsw +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xu +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.x +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xbn +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xn +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xr +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xs +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xsc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xsw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xu +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.x +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xbn +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xd +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xdc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xdw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xn +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xr +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xs +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xsc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xsw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xu +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xw +-rwxr-xr-x root/root usr/lib/libbfd-2.25.1.so +-rw-r--r-- root/root usr/lib/libbfd.a +-rwxr-xr-x root/root usr/lib/libbfd.la +lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.25.1.so +-rwxr-xr-x root/root usr/lib/libopcodes-2.25.1.so +-rw-r--r-- root/root usr/lib/libopcodes.a +-rwxr-xr-x root/root usr/lib/libopcodes.la +lrwxrwxrwx root/root usr/lib/libopcodes.so -> libopcodes-2.25.1.so +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/addr2line.1.gz +-rw-r--r-- root/root usr/share/man/man1/ar.1.gz +-rw-r--r-- root/root usr/share/man/man1/as.1.gz +-rw-r--r-- root/root usr/share/man/man1/c++filt.1.gz +-rw-r--r-- root/root usr/share/man/man1/elfedit.1.gz +-rw-r--r-- root/root usr/share/man/man1/gprof.1.gz +-rw-r--r-- root/root usr/share/man/man1/ld.1.gz +-rw-r--r-- root/root usr/share/man/man1/nm.1.gz +-rw-r--r-- root/root usr/share/man/man1/objcopy.1.gz +-rw-r--r-- root/root usr/share/man/man1/objdump.1.gz +-rw-r--r-- root/root usr/share/man/man1/ranlib.1.gz +-rw-r--r-- root/root usr/share/man/man1/readelf.1.gz +-rw-r--r-- root/root usr/share/man/man1/size.1.gz +-rw-r--r-- root/root usr/share/man/man1/strings.1.gz +-rw-r--r-- root/root usr/share/man/man1/strip.1.gz diff --git a/binutils/.md5sum b/binutils/.md5sum new file mode 100644 index 0000000..9fc5580 --- /dev/null +++ b/binutils/.md5sum @@ -0,0 +1 @@ +ac493a78de4fee895961d025b7905be4 binutils-2.25.1.tar.bz2 diff --git a/binutils/Pkgfile b/binutils/Pkgfile new file mode 100644 index 0000000..9217c94 --- /dev/null +++ b/binutils/Pkgfile @@ -0,0 +1,35 @@ +# Description: The GNU Binutils are a collection of binary tools +# URL: http://sources.redhat.com/binutils/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: zlib flex + +name=binutils +version=2.25.1 +release=2 +source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) + +build() { + sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in + + mkdir build + cd build + + ../$name-$version/configure --prefix=/usr \ + --build=aarch64-unknown-linux-gnueabi \ + --enable-shared \ + --disable-nls \ + --enable-ld=default \ + --enable-gold=yes \ + --enable-plugins \ + --disable-werror + + make tooldir=/usr + make tooldir=/usr DESTDIR=$PKG install + + install -m 0644 ../$name-$version/include/libiberty.h $PKG/usr/include + + rm -r $PKG/usr/share/info + rm $PKG/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}.1 + sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/lib{bfd,opcodes}.la +}