build: make seed: Update mescc-tools-seed too.

This commit is contained in:
Jan Nieuwenhuizen 2018-06-16 06:37:20 +02:00
parent 4d90fb1475
commit d8e6046453
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
2 changed files with 23 additions and 8 deletions

View file

@ -48,6 +48,14 @@ seed: all-go
MES=$(GUILE) GUILE=$(GUILE) SEED=1 build-aux/build-mes.sh
cd $(MES_SEED) && MES_PREFIX=$(PWD) ./refresh.sh
MES=$(GUILE) GUILE=$(GUILE) SEED=1 build-aux/build-mes.sh
cp lib/x86-mes/elf32-header.hex2\
lib/x86-mes/x86.M1\
lib/x86-mes/libc+tcc.S\
lib/x86-mes/libc.S\
lib/x86-mes/crt1.S\
lib/x86-mes/libgetopt.S\
$(MESCC_TOOLS_SEED)/libs
cd $(MESCC_TOOLS_SEED) && MES_PREFIX=$(PWD) ./bootstrap.sh
define HELP_TOP
Usage: make [OPTION]... [TARGET]...
@ -136,6 +144,10 @@ ifdef MES_SEED
export MES_SEED
endif
ifdef MESCC_TOOLS_SEED
export MESCC_TOOLS_SEED
endif
ifdef TINYCC_SEED
export TINYCC_SEED
endif

19
configure vendored
View file

@ -216,14 +216,15 @@ Installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
CC32 x86 C compiler command
C32FLAGS x86 C compiler flags
GUILE guile command
GUILE_TOOLS guile-tools command
MES_SEED location of mes-seed
TINYCC_SEED location of tinycc-seed
CC C compiler command
CFLAGS C compiler flags
CC32 x86 C compiler command
C32FLAGS x86 C compiler flags
GUILE guile command
GUILE_TOOLS guile-tools command
MES_SEED location of mes-seed
MESCC_TOOLS_SEED location of mescc-tools-seed
TINYCC_SEED location of tinycc-seed
" PACKAGE VERSION (getenv "PREFIX")))
(define (main args)
@ -254,6 +255,7 @@ Some influential environment variables:
(M1FLAGS (getenv "M1FLAGS"))
(MESCCFLAGS (getenv "MESCCFLAGS"))
(MES_SEED (or (getenv "MES_SEED") "../mes-seed"))
(MESCC_TOOLS_SEED (or (getenv "MESCC_TOOLS_SEED") "../mescc-tools-seed"))
(TINYCC_SEED (or (getenv "TINYCC_SEED") "../tinycc-seed")))
(when help?
(print-help)
@ -298,6 +300,7 @@ Some influential environment variables:
(stdout "CC32:=~a\n" (or CC32 ""))
(stdout "BLOOD_ELF:=~a\n" (or BLOOD_ELF ""))
(stdout "MES_SEED:=~a\n" (or MES_SEED ""))
(stdout "MESCC_TOOLS_SEED:=~a\n" (or MESCC_TOOLS_SEED ""))
(stdout "TINYCC_SEED:=~a\n" (or TINYCC_SEED ""))
(stdout "HEX2:=~a\n" (or HEX2 ""))
(stdout "M1:=~a\n" (or M1 ""))