mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +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 ccache
|
||||||
$SCRIPTS/install binutils
|
$SCRIPTS/install binutils
|
||||||
$SCRIPTS/build $TARGET_LIBC-headers
|
$SCRIPTS/install linux-headers
|
||||||
$SCRIPTS/install gmp
|
$SCRIPTS/install gmp
|
||||||
$SCRIPTS/install mpfr
|
$SCRIPTS/install mpfr
|
||||||
$SCRIPTS/unpack gcc
|
$SCRIPTS/unpack gcc
|
||||||
|
|
||||||
|
touch $SYSROOT_PREFIX/usr/include/limits.h
|
||||||
|
|
||||||
setup_toolchain host
|
setup_toolchain host
|
||||||
|
|
||||||
cd $BUILD/gcc*
|
cd $BUILD/gcc*
|
||||||
@ -28,10 +30,10 @@ cd objdir-$1
|
|||||||
--disable-libgomp \
|
--disable-libgomp \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
--disable-tls \
|
|
||||||
--disable-threads \
|
--disable-threads \
|
||||||
--without-headers \
|
--without-headers \
|
||||||
--with-newlib \
|
--with-newlib \
|
||||||
--disable-decimal-float \
|
--disable-decimal-float \
|
||||||
--disable-nls
|
--disable-nls
|
||||||
make
|
|
||||||
|
make all-gcc all-target-libgcc
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
. config/options
|
. config/options
|
||||||
|
|
||||||
make -C $BUILD/gcc*/objdir-$1 install
|
make -C $BUILD/gcc*/objdir-$1 install-gcc install-target-libgcc
|
||||||
|
|
||||||
$SCRIPTS/install ccache toolchain
|
$SCRIPTS/install ccache toolchain
|
||||||
|
Loading…
x
Reference in New Issue
Block a user