fix
This commit is contained in:
parent
55f352d5d5
commit
8a3da42238
1 changed files with 20 additions and 1 deletions
19
autobuild.sh
19
autobuild.sh
|
@ -8,6 +8,16 @@ cd build
|
|||
[ -d 'iglunix' ] || git clone --depth=1 https://github.com/iglunix/iglunix
|
||||
[ -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
|
||||
IP=$(pwd)/iglupkg/
|
||||
|
||||
|
@ -18,9 +28,18 @@ mkdir -p $LOGS
|
|||
echo === STAGE 1 === Build cross toolchain
|
||||
|
||||
cd iglunix-bootstrap
|
||||
|
||||
if command -V bad 2> /dev/null; then
|
||||
MAKE=gmake bad --gmake ./boot.sh
|
||||
else
|
||||
MAKE=make ./boot.sh
|
||||
fi
|
||||
|
||||
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 ..
|
||||
|
||||
echo === STAGE 1 === Done
|
||||
|
|
Loading…
Reference in a new issue