From: Taylor R Campbell Date: Tue, 8 Jan 2019 06:48:47 +0000 (+0000) Subject: Don't build microcode in cross-host; build in cross-target. X-Git-Tag: mit-scheme-pucked-10.1.10~6^2~67 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=f1f879ed76626f408c43722914b2016731ca6675;p=mit-scheme.git Don't build microcode in cross-host; build in cross-target. --- diff --git a/src/Makefile.in b/src/Makefile.in index 40f1e14fc..35fafe57c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -174,13 +174,13 @@ PLUGINS_TOOLCHAIN = lib/all.com lib/runtime.com microcode/scheme \ # LIARC bundle rules depend on $(LIARC_TOOLCHAIN) for # extract-liarc-decls. # -# XXX This should really depend on microcode/gen-nonce and -# microcode/extract-liarc-decls instead of microcode/scheme, but -# splitting up dependencies within the microcode subdirectory is more -# trouble than it's worth right now. Later, we should reorganize the -# directory structure to better reflect the build rather than just -# shoving all the C code into microcode/. -LIARC_TOOLCHAIN = microcode/scheme +# XXX WARNING: The rules for gen-nonce and extract-liarc-decls do not +# intersect with any others. If they did, this would be unsafe with +# parallel makes. +LIARC_TOOLCHAIN = stamp_liarc-toolchain +stamp_liarc-toolchain: + +(cd microcode && $(MAKE) gen-nonce extract-liarc-decls) + echo done > $@ ### For the subsystems, we have several rules: ### @@ -209,7 +209,7 @@ LIARC_TOOLCHAIN = microcode/scheme ################ RUNTIME_BUILD_TARGETS = compile-runtime $(RUNTIME_LIARC_TARGETS) -@IF_LIARC@RUNTIME_LIARC_TARGETS = runtime/runtime-unx.c compile-runtime +@IF_LIARC@RUNTIME_LIARC_TARGETS = runtime/runtime-unx.c RUNTIME_CREF_TARGETS = syntax-runtime @IF_NATIVE@RUNTIME_DEPEND_TARGETS = compile-runtime @IF_CROSS@RUNTIME_DEPEND_TARGETS = stamp_cross-finished