mirror of https://github.com/FDOS/kernel.git
ci_build.sh: fix CI build to correct OW file, wget --no-verbose
Refer to https://github.com/tkchia/gcc-ia16/issues/108
This commit is contained in:
parent
5df9dbdbd7
commit
42b8e12bc7
10
ci_build.sh
10
ci_build.sh
|
@ -11,9 +11,11 @@ echo BUILD_DIR is \"${BUILD_DIR}\"
|
||||||
rm -rf _output
|
rm -rf _output
|
||||||
mkdir _output
|
mkdir _output
|
||||||
|
|
||||||
|
OWTAR=ow-snapshot.tar.xz
|
||||||
|
|
||||||
# GCC
|
# GCC
|
||||||
mkdir _output/gcc
|
mkdir _output/gcc
|
||||||
git clean -x -d -f -e _output -e _watcom -e ow-snapshot.tar.gz
|
git clean -x -d -f -e _output -e _watcom -e $OWTAR
|
||||||
make -C country clean
|
make -C country clean
|
||||||
make all COMPILER=gcc
|
make all COMPILER=gcc
|
||||||
mv -n bin/KGC*.map bin/KGC*.sys _output/gcc/.
|
mv -n bin/KGC*.map bin/KGC*.sys _output/gcc/.
|
||||||
|
@ -25,17 +27,17 @@ mv -n share/share.map _output/gcc/.
|
||||||
|
|
||||||
# Watcom
|
# Watcom
|
||||||
if [ ! -d _watcom ] ; then
|
if [ ! -d _watcom ] ; then
|
||||||
[ -f ow-snapshot.tar.gz ] || wget --quiet https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.gz
|
[ -f $OWTAR ] || wget --no-verbose https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/$OWTAR
|
||||||
|
|
||||||
mkdir _watcom
|
mkdir _watcom
|
||||||
(cd _watcom && tar -xf ../ow-snapshot.tar.gz)
|
(cd _watcom && tar -xf ../$OWTAR)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH=$BUILD_DIR/bin:$PATH:$BUILD_DIR/_watcom/binl64
|
export PATH=$BUILD_DIR/bin:$PATH:$BUILD_DIR/_watcom/binl64
|
||||||
export WATCOM=$BUILD_DIR/_watcom
|
export WATCOM=$BUILD_DIR/_watcom
|
||||||
|
|
||||||
mkdir _output/wc
|
mkdir _output/wc
|
||||||
git clean -x -d -f -e _output -e _watcom -e ow-snapshot.tar.gz
|
git clean -x -d -f -e _output -e _watcom -e $OWTAR
|
||||||
make -C country clean
|
make -C country clean
|
||||||
make all COMPILER=owlinux
|
make all COMPILER=owlinux
|
||||||
mv -n bin/KWC*.map bin/KWC*.sys _output/wc/.
|
mv -n bin/KWC*.map bin/KWC*.sys _output/wc/.
|
||||||
|
|
Loading…
Reference in New Issue