mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
binutils:
- merge install script with build script - remove gold support - remove lto support - remove plugin support - add some usefull options
This commit is contained in:
parent
944580e32d
commit
899a0c9537
@ -29,11 +29,11 @@ cd objdir
|
|||||||
--with-ppl=$ROOT/$TOOLCHAIN \
|
--with-ppl=$ROOT/$TOOLCHAIN \
|
||||||
--with-cloog=$ROOT/$TOOLCHAIN \
|
--with-cloog=$ROOT/$TOOLCHAIN \
|
||||||
--with-libelf=$ROOT/$TOOLCHAIN \
|
--with-libelf=$ROOT/$TOOLCHAIN \
|
||||||
--enable-gold=both/ld \
|
--enable-werror \
|
||||||
--enable-plugins \
|
|
||||||
--enable-lto \
|
|
||||||
--disable-werror \
|
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
|
--disable-libada \
|
||||||
|
--disable-libssp \
|
||||||
|
--enable-version-specific-runtime-libs \
|
||||||
$WITH_64B_BFD \
|
$WITH_64B_BFD \
|
||||||
--disable-nls
|
--disable-nls
|
||||||
|
|
||||||
@ -41,3 +41,6 @@ make configure-host
|
|||||||
make
|
make
|
||||||
|
|
||||||
cp -v ../include/libiberty.h $SYSROOT_PREFIX/usr/include
|
cp -v ../include/libiberty.h $SYSROOT_PREFIX/usr/include
|
||||||
|
|
||||||
|
make install
|
||||||
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
|
||||||
|
|
||||||
make -C $PKG_BUILD/objdir install
|
|
||||||
|
|
||||||
cp ${TARGET_PREFIX}ld.gold ${TARGET_PREFIX}gold
|
|
||||||
cp $ROOT/$TOOLCHAIN/$TARGET_NAME/bin/ld.gold $ROOT/$TOOLCHAIN/$TARGET_NAME/bin/gold
|
|
Loading…
x
Reference in New Issue
Block a user