mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
toolchain:
- build without seperate installation of libc-headers. Needed for upcoming eglibc support, because wee dont need extra installation of libc-headers for this. - remove disable of build with tls support in gcc-core, needed for upccoming eglibc support
This commit is contained in:
parent
7c5c59f59c
commit
2c56ceece7
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/unpack uClibc
|
||||
$SCRIPTS/install linux-headers
|
||||
|
||||
make -C $BUILD/uClibc* PREFIX="$SYSROOT_PREFIX" install_headers
|
@ -4,11 +4,13 @@
|
||||
|
||||
$SCRIPTS/install ccache
|
||||
$SCRIPTS/install binutils
|
||||
$SCRIPTS/build $TARGET_LIBC-headers
|
||||
$SCRIPTS/install linux-headers
|
||||
$SCRIPTS/install gmp
|
||||
$SCRIPTS/install mpfr
|
||||
$SCRIPTS/unpack gcc
|
||||
|
||||
touch $SYSROOT_PREFIX/usr/include/limits.h
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $BUILD/gcc*
|
||||
@ -28,10 +30,10 @@ cd objdir-$1
|
||||
--disable-libgomp \
|
||||
--disable-shared \
|
||||
--disable-multilib \
|
||||
--disable-tls \
|
||||
--disable-threads \
|
||||
--without-headers \
|
||||
--with-newlib \
|
||||
--disable-decimal-float \
|
||||
--disable-nls
|
||||
make
|
||||
|
||||
make all-gcc all-target-libgcc
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
. config/options
|
||||
|
||||
make -C $BUILD/gcc*/objdir-$1 install
|
||||
make -C $BUILD/gcc*/objdir-$1 install-gcc install-target-libgcc
|
||||
|
||||
$SCRIPTS/install ccache toolchain
|
||||
|
Loading…
x
Reference in New Issue
Block a user