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.sh
|
||||
|
||||
seed: all-go mes-gcc mes-tcc
|
||||
seed: all-go gcc mes-gcc mes-tcc
|
||||
cd $(MES_SEED) && git reset --hard HEAD
|
||||
MES=$(GUILE) GUILE=$(GUILE) SEED=1 ${srcdest}build-aux/build-mes.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 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 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
|
||||
sh ${srcdest}build-aux/build-cc.sh
|
||||
cp src/mes.gcc-out src/mes
|
||||
fi
|
||||
|
||||
if [ -n "$CC32" ]; then
|
||||
sh ${srcdest}build-aux/build-cc32.sh
|
||||
cp src/mes.mes-gcc-out src/mes
|
||||
fi
|
||||
|
||||
if [ -n "$TCC" ]; then
|
||||
CC32=$TCC sh ${srcdest}build-aux/build-cc32.sh
|
||||
cp src/mes.mes-tcc-out src/mes
|
||||
fi
|
||||
|
||||
sh ${srcdest}build-aux/build-mes.sh
|
||||
|
|
Loading…
Reference in a new issue