This commit is contained in:
Ella Stanforth 2022-04-19 18:32:22 +00:00
parent 55f352d5d5
commit 8a3da42238

View file

@ -8,6 +8,16 @@ cd build
[ -d 'iglunix' ] || git clone --depth=1 https://github.com/iglunix/iglunix [ -d 'iglunix' ] || git clone --depth=1 https://github.com/iglunix/iglunix
[ -d 'iglupkg' ] || git clone --depth=1 https://github.com/iglunix/iglupkg [ -d 'iglupkg' ] || git clone --depth=1 https://github.com/iglunix/iglupkg
cd iglunix-bootstrap
git pull
cd ..
cd iglunix
git pull
cd ..
cd iglupkg
git pull
cd ..
SYSROOT_S2=$(pwd)/sysroot SYSROOT_S2=$(pwd)/sysroot
IP=$(pwd)/iglupkg/ IP=$(pwd)/iglupkg/
@ -18,9 +28,18 @@ mkdir -p $LOGS
echo === STAGE 1 === Build cross toolchain echo === STAGE 1 === Build cross toolchain
cd iglunix-bootstrap cd iglunix-bootstrap
if command -V bad 2> /dev/null; then
MAKE=gmake bad --gmake ./boot.sh MAKE=gmake bad --gmake ./boot.sh
else
MAKE=make ./boot.sh
fi
SYSROOT_S1=$(pwd)/sysroot SYSROOT_S1=$(pwd)/sysroot
export CC=$(pwd)/x86_64-iglunix-linux-musl-cc.sh
export CXX=$(pwd)/x86_64-iglunix-linux-musl-c++.sh
cd .. cd ..
echo === STAGE 1 === Done echo === STAGE 1 === Done