mirror of
https://github.com/FDOS/kernel.git
synced 2025-04-08 17:15:17 +02:00
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
|
||||
mkdir _output
|
||||
|
||||
OWTAR=ow-snapshot.tar.xz
|
||||
|
||||
# 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 all COMPILER=gcc
|
||||
mv -n bin/KGC*.map bin/KGC*.sys _output/gcc/.
|
||||
@ -25,17 +27,17 @@ mv -n share/share.map _output/gcc/.
|
||||
|
||||
# Watcom
|
||||
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
|
||||
(cd _watcom && tar -xf ../ow-snapshot.tar.gz)
|
||||
(cd _watcom && tar -xf ../$OWTAR)
|
||||
fi
|
||||
|
||||
export PATH=$BUILD_DIR/bin:$PATH:$BUILD_DIR/_watcom/binl64
|
||||
export WATCOM=$BUILD_DIR/_watcom
|
||||
|
||||
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 all COMPILER=owlinux
|
||||
mv -n bin/KWC*.map bin/KWC*.sys _output/wc/.
|
||||
|
Loading…
x
Reference in New Issue
Block a user