build: src/mes build fixes.
* build-aux/GNUmakefile.in (seed): Add dependency on gcc. * build-aux/build-cc.sh: Copy result to src/mes. * build-aux/build-cc32.sh: Likewise. * build-aux/build.sh.in: Remove copying of results.
This commit is contained in:
parent
9273a64098
commit
43f0c2d831
|
@ -145,7 +145,7 @@ install:
|
||||||
uninstall:
|
uninstall:
|
||||||
./uninstall.sh
|
./uninstall.sh
|
||||||
|
|
||||||
seed: all-go mes-gcc mes-tcc
|
seed: all-go gcc mes-gcc mes-tcc
|
||||||
cd $(MES_SEED) && git reset --hard HEAD
|
cd $(MES_SEED) && git reset --hard HEAD
|
||||||
MES=$(GUILE) GUILE=$(GUILE) SEED=1 ${srcdest}build-aux/build-mes.sh
|
MES=$(GUILE) GUILE=$(GUILE) SEED=1 ${srcdest}build-aux/build-mes.sh
|
||||||
cd $(MES_SEED) && MES_PREFIX=$(PWD) ./refresh.sh
|
cd $(MES_SEED) && MES_PREFIX=$(PWD) ./refresh.sh
|
||||||
|
|
|
@ -69,3 +69,4 @@ sh ${srcdest}build-aux/cc64-mes.sh scaffold/tiny-mes
|
||||||
sh ${srcdest}build-aux/cc64-mes.sh scaffold/mini-mes
|
sh ${srcdest}build-aux/cc64-mes.sh scaffold/mini-mes
|
||||||
|
|
||||||
sh ${srcdest}build-aux/cc64-mes.sh src/mes
|
sh ${srcdest}build-aux/cc64-mes.sh src/mes
|
||||||
|
cp src/mes.gcc-out src/mes
|
||||||
|
|
|
@ -66,3 +66,9 @@ sh ${srcdest}build-aux/cc32-mes.sh scaffold/tiny-mes
|
||||||
sh ${srcdest}build-aux/cc32-mes.sh scaffold/mini-mes
|
sh ${srcdest}build-aux/cc32-mes.sh scaffold/mini-mes
|
||||||
|
|
||||||
sh ${srcdest}build-aux/cc32-mes.sh src/mes
|
sh ${srcdest}build-aux/cc32-mes.sh src/mes
|
||||||
|
|
||||||
|
if [ "$CC32" = "$TCC" ]; then
|
||||||
|
cp src/mes.mes-tcc-out src/mes
|
||||||
|
else
|
||||||
|
cp src/mes.mes-gcc-out src/mes
|
||||||
|
fi
|
||||||
|
|
|
@ -37,17 +37,14 @@ fi
|
||||||
|
|
||||||
if [ -n "$CC" ]; then
|
if [ -n "$CC" ]; then
|
||||||
sh ${srcdest}build-aux/build-cc.sh
|
sh ${srcdest}build-aux/build-cc.sh
|
||||||
cp src/mes.gcc-out src/mes
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$CC32" ]; then
|
if [ -n "$CC32" ]; then
|
||||||
sh ${srcdest}build-aux/build-cc32.sh
|
sh ${srcdest}build-aux/build-cc32.sh
|
||||||
cp src/mes.mes-gcc-out src/mes
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$TCC" ]; then
|
if [ -n "$TCC" ]; then
|
||||||
CC32=$TCC sh ${srcdest}build-aux/build-cc32.sh
|
CC32=$TCC sh ${srcdest}build-aux/build-cc32.sh
|
||||||
cp src/mes.mes-tcc-out src/mes
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sh ${srcdest}build-aux/build-mes.sh
|
sh ${srcdest}build-aux/build-mes.sh
|
||||||
|
|
Loading…
Reference in a new issue