binutils:

- add support for 64bit build
- various cleanups
- remove installation of libstrip and an headerfile
This commit is contained in:
Stephan Raue 2009-11-25 03:53:48 +01:00
parent 801f647ea4
commit 8478880491
2 changed files with 6 additions and 7 deletions

View File

@ -4,6 +4,10 @@
$SCRIPTS/install ccache
if [ $TARGET_ARCH = "x86_64" -o $TARGET_ARCH = "powerpc64" ]; then
WITH_64B_BFD="--enable-64-bit-bfd"
fi
setup_toolchain host
cd $PKG_BUILD
@ -14,8 +18,9 @@ cd objdir
--target=$TARGET_NAME \
--prefix=$ROOT/$TOOLCHAIN \
--with-sysroot=$SYSROOT_PREFIX \
--disable-werror \
--disable-multilib \
$WITH_64B_BFD \
--disable-nls
make configure-host
make

View File

@ -5,9 +5,3 @@
PKG_DIR=`find $PACKAGES -type d -name $1`
make -C $PKG_BUILD/objdir install
mkdir -p $SYSROOT_PREFIX/usr/include
cp -v $PKG_BUILD/include/libiberty.h $SYSROOT_PREFIX/usr/include
mkdir -p $TOOLCHAIN/bin
cp $PKG_DIR/scripts/libstrip $TOOLCHAIN/bin