X-Git-Url: http://git.code-monkey.de/?p=crux-arm-cross-compiler.git;a=blobdiff_plain;f=arm-glibc%2FPkgfile;fp=arm-glibc%2FPkgfile;h=6b205f702c05bccc512e4d83e351dcb8b693cb77;hp=0000000000000000000000000000000000000000;hb=e48baed2ca40ae3630fb848339d1f6e9434c899d;hpb=5275ffb88ee9e06e9a5f683453e35dd7728f5560 diff --git a/arm-glibc/Pkgfile b/arm-glibc/Pkgfile new file mode 100644 index 0000000..6b205f7 --- /dev/null +++ b/arm-glibc/Pkgfile @@ -0,0 +1,72 @@ +# Description: The GNU C library for the ARM cross compiler +# URL: http://www.gnu.org/software/libc/ +# Depends on: arm-gcc-interim + +name=arm-glibc +version=2.10.1 +release=1 +source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.bz2 + http://ftp.gnu.org/gnu/glibc/glibc-ports-$version.tar.bz2 + http://crux.nu/~tilman/arm-kernel-headers-2.6.33.tar.xz) + +build() { + # install kernel headers + mkdir -p $PKG/usr/armv5tel-softfloat-linux-gnueabi + cp -r arm-kernel-headers-2.6.33/include \ + $PKG/usr/armv5tel-softfloat-linux-gnueabi + chown root:root $PKG/usr/armv5tel-softfloat-linux-gnueabi + + mv glibc-ports-$version glibc-$version/ports + + sed -e 's/-lgcc_eh//g' -i glibc-$version/Makeconfig + + mkdir build + cd build + + cat >config.cache<