build: Use ../mes-seed/refresh.sh, ../tinycc-seed/refresh.sh.

* GNUmakefile (seed): Use ../mes-seed/refresh.sh, ../tinycc-seed/refresh.sh.
This commit is contained in:
Jan Nieuwenhuizen 2018-05-10 16:35:49 +02:00
parent 62bd70cfb6
commit a1a5145a1a
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
2 changed files with 9 additions and 7 deletions

View file

@ -32,8 +32,10 @@ install:
seed: seed:
cd ../mes-seed && git reset --hard HEAD cd ../mes-seed && git reset --hard HEAD
MES=guile GUILE=guile SEED=1 build-aux/build-mes.sh MES=guile GUILE=guile SEED=1 build-aux/build-mes.sh
cd ../mes-seed && ./bootstrap.sh && cd ../mes cd ../mes-seed && ./refresh.sh && cd ../mes
MES=guile GUILE=guile SEED=1 build-aux/build-mes.sh MES=guile GUILE=guile SEED=1 build-aux/build-mes.sh
build-aux/build-mlibc.sh
cd ../tinycc-seed && ./refresh.sh && cd ../mes
ifdef PREFIX ifdef PREFIX
export PREFIX export PREFIX

View file

@ -90,6 +90,12 @@ if [ -d "$MES_SEED" ]; then
-o src/libc+tcc-mes.hex2 -o src/libc+tcc-mes.hex2
fi fi
PREPROCESS=1
NOLINK=1 sh build-aux/cc-mes.sh lib/crt1
NOLINK=1 sh build-aux/cc-mes.sh lib/mini-libc-mes
NOLINK=1 sh build-aux/cc-mes.sh lib/libc-mes
NOLINK=1 sh build-aux/cc-mes.sh lib/libc+tcc-mes
[ -n "$SEED" ] && exit 0 [ -n "$SEED" ] && exit 0
GUILE=src/mes GUILE=src/mes
@ -102,12 +108,6 @@ sh build-aux/mes-snarf.scm --mes src/posix.c
sh build-aux/mes-snarf.scm --mes src/reader.c sh build-aux/mes-snarf.scm --mes src/reader.c
sh build-aux/mes-snarf.scm --mes src/vector.c sh build-aux/mes-snarf.scm --mes src/vector.c
PREPROCESS=1
NOLINK=1 sh build-aux/cc-mes.sh lib/crt1
NOLINK=1 sh build-aux/cc-mes.sh lib/mini-libc-mes
NOLINK=1 sh build-aux/cc-mes.sh lib/libc-mes
NOLINK=1 sh build-aux/cc-mes.sh lib/libc+tcc-mes
# sh build-aux/cc-mes.sh scaffold/main # sh build-aux/cc-mes.sh scaffold/main
# sh build-aux/cc-mes.sh scaffold/hello # sh build-aux/cc-mes.sh scaffold/hello
# sh build-aux/cc-mes.sh scaffold/argv # sh build-aux/cc-mes.sh scaffold/argv