CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
binutils: initial import due to footprint mismatches for the ARM architecture
authorJose V Beneyto <sepen@crux.nu>
Tue, 22 Nov 2011 14:02:20 +0000 (15:02 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 22 Nov 2011 14:02:20 +0000 (15:02 +0100)
binutils/.footprint [new file with mode: 0644]
binutils/.md5sum [new file with mode: 0644]
binutils/Pkgfile [new file with mode: 0644]

diff --git a/binutils/.footprint b/binutils/.footprint
new file mode 100644 (file)
index 0000000..cd49204
--- /dev/null
@@ -0,0 +1,80 @@
+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/gprof
+-rwxr-xr-x     root/root       usr/bin/ld
+-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/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/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_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.20.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.20.1.so
+-rw-r--r--     root/root       usr/lib/libiberty.a
+-rwxr-xr-x     root/root       usr/lib/libopcodes-2.20.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.20.1.so
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/addr2line.1.gz
+-rw-r--r--     root/root       usr/man/man1/ar.1.gz
+-rw-r--r--     root/root       usr/man/man1/as.1.gz
+-rw-r--r--     root/root       usr/man/man1/c++filt.1.gz
+-rw-r--r--     root/root       usr/man/man1/dlltool.1.gz
+-rw-r--r--     root/root       usr/man/man1/gprof.1.gz
+-rw-r--r--     root/root       usr/man/man1/ld.1.gz
+-rw-r--r--     root/root       usr/man/man1/nlmconv.1.gz
+-rw-r--r--     root/root       usr/man/man1/nm.1.gz
+-rw-r--r--     root/root       usr/man/man1/objcopy.1.gz
+-rw-r--r--     root/root       usr/man/man1/objdump.1.gz
+-rw-r--r--     root/root       usr/man/man1/ranlib.1.gz
+-rw-r--r--     root/root       usr/man/man1/readelf.1.gz
+-rw-r--r--     root/root       usr/man/man1/size.1.gz
+-rw-r--r--     root/root       usr/man/man1/strings.1.gz
+-rw-r--r--     root/root       usr/man/man1/strip.1.gz
+-rw-r--r--     root/root       usr/man/man1/windmc.1.gz
+-rw-r--r--     root/root       usr/man/man1/windres.1.gz
diff --git a/binutils/.md5sum b/binutils/.md5sum
new file mode 100644 (file)
index 0000000..87896ed
--- /dev/null
@@ -0,0 +1 @@
+2b9dc8f2b7dbd5ec5992c6e29de0b764  binutils-2.20.1a.tar.bz2
diff --git a/binutils/Pkgfile b/binutils/Pkgfile
new file mode 100644 (file)
index 0000000..dcd56fc
--- /dev/null
@@ -0,0 +1,26 @@
+# 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
+# Depends on:  zlib
+
+name=binutils
+version=2.20.1
+release=1
+source=(ftp://ftp.gnu.org/gnu/$name/$name-${version}a.tar.bz2)
+
+build() {
+    sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in
+    sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in
+    mkdir build
+    cd build
+    ../$name-$version/configure --prefix=/usr \
+                                --mandir=/usr/man \
+                                --enable-shared \
+                                --disable-nls 
+    make tooldir=/usr
+    make check
+    make tooldir=/usr DESTDIR=$PKG install
+    install -m 0644  ../$name-$version/include/libiberty.h $PKG/usr/include
+    rm -r $PKG/usr/share
+    sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
+}