mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
binutils:
- add support for gmp and mpfr
This commit is contained in:
parent
0b5ae8456a
commit
9640a37929
@ -3,6 +3,9 @@
|
|||||||
. config/options
|
. config/options
|
||||||
|
|
||||||
$SCRIPTS/install ccache
|
$SCRIPTS/install ccache
|
||||||
|
$SCRIPTS/install linux-headers
|
||||||
|
$SCRIPTS/build gmp
|
||||||
|
$SCRIPTS/build mpfr
|
||||||
|
|
||||||
if [ $TARGET_ARCH = "x86_64" -o $TARGET_ARCH = "powerpc64" ]; then
|
if [ $TARGET_ARCH = "x86_64" -o $TARGET_ARCH = "powerpc64" ]; then
|
||||||
WITH_64B_BFD="--enable-64-bit-bfd"
|
WITH_64B_BFD="--enable-64-bit-bfd"
|
||||||
@ -18,9 +21,14 @@ cd objdir
|
|||||||
--target=$TARGET_NAME \
|
--target=$TARGET_NAME \
|
||||||
--prefix=$ROOT/$TOOLCHAIN \
|
--prefix=$ROOT/$TOOLCHAIN \
|
||||||
--with-sysroot=$SYSROOT_PREFIX \
|
--with-sysroot=$SYSROOT_PREFIX \
|
||||||
|
--with-gmp=$ROOT/$TOOLCHAIN \
|
||||||
|
--with-mpfr=$ROOT/$TOOLCHAIN \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
$WITH_64B_BFD \
|
$WITH_64B_BFD \
|
||||||
--disable-nls
|
--disable-nls
|
||||||
|
|
||||||
|
make configure-host
|
||||||
make
|
make
|
||||||
|
|
||||||
|
cp -v ../include/libiberty.h $SYSROOT_PREFIX/usr/include
|
Loading…
x
Reference in New Issue
Block a user