Adjust build scripts to install LibC headers

This commit is contained in:
apio 2022-10-02 12:47:50 +02:00
parent f8a72f15c8
commit e483f6d1e6
5 changed files with 11 additions and 1 deletions

View File

@ -7,6 +7,8 @@ cd $LUNA_ROOT
tools/setup.sh
tools/install-headers.sh
make -j$(nproc)
make install

View File

@ -7,4 +7,6 @@ cd $LUNA_ROOT
tools/setup.sh
tools/install-headers.sh
make -j$(nproc)

View File

@ -9,6 +9,8 @@ tools/setup.sh
make clean
tools/install-headers.sh
make -j$(nproc)
make install

View File

@ -7,6 +7,8 @@ cd $LUNA_ROOT
tools/setup.sh
tools/install-headers.sh
make clean
make -j$(nproc)

View File

@ -10,6 +10,8 @@ then
exit 1
fi
tools/install-headers.sh # install the LibC headers before building GCC
mkdir -p toolchain/tarballs
mkdir -p toolchain/build
@ -23,7 +25,7 @@ echo Extracting GCC...
tar xf toolchain/tarballs/gcc-$LUNA_GCC_VERSION_REQUIRED.tar.xz -C toolchain/build/
echo Patching Binutils...
echo Patching GCC...
cd toolchain