Adjust build scripts to install LibC headers
This commit is contained in:
parent
f8a72f15c8
commit
e483f6d1e6
@ -7,6 +7,8 @@ cd $LUNA_ROOT
|
|||||||
|
|
||||||
tools/setup.sh
|
tools/setup.sh
|
||||||
|
|
||||||
|
tools/install-headers.sh
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
@ -7,4 +7,6 @@ cd $LUNA_ROOT
|
|||||||
|
|
||||||
tools/setup.sh
|
tools/setup.sh
|
||||||
|
|
||||||
|
tools/install-headers.sh
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
@ -9,6 +9,8 @@ tools/setup.sh
|
|||||||
|
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
|
tools/install-headers.sh
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@ cd $LUNA_ROOT
|
|||||||
|
|
||||||
tools/setup.sh
|
tools/setup.sh
|
||||||
|
|
||||||
|
tools/install-headers.sh
|
||||||
|
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
@ -10,6 +10,8 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
tools/install-headers.sh # install the LibC headers before building GCC
|
||||||
|
|
||||||
mkdir -p toolchain/tarballs
|
mkdir -p toolchain/tarballs
|
||||||
mkdir -p toolchain/build
|
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/
|
tar xf toolchain/tarballs/gcc-$LUNA_GCC_VERSION_REQUIRED.tar.xz -C toolchain/build/
|
||||||
|
|
||||||
echo Patching Binutils...
|
echo Patching GCC...
|
||||||
|
|
||||||
cd toolchain
|
cd toolchain
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user