From 953b2612b2f732ce09f8a7555096bdf69f8fb368 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Wed, 9 Jan 2019 03:47:53 +0000 Subject: [PATCH] Fix up makefile targets for liarc. --- src/Makefile.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index a1658a746..0a26c8d03 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -191,7 +191,7 @@ stamp_liarc-toolchain: ### We also define: ### ### _BUILD_TARGETS: targets to build the subsystem, if included -### _LIARC_TARGETS: whatever LIARC needs +### _LIARC_TARGETS: whatever LIARC needs (on the host) ### _CREF_TARGETS: dependencies for users of the cref ### _DEPEND_TARGETS: dependencies for using macros from it ### @@ -209,7 +209,7 @@ stamp_liarc-toolchain: ################ RUNTIME_BUILD_TARGETS = compile-runtime $(RUNTIME_LIARC_TARGETS) -@IF_LIARC@RUNTIME_LIARC_TARGETS = runtime/runtime-unx.c +@IF_LIARC@RUNTIME_LIARC_TARGETS = bundle-runtime RUNTIME_CREF_TARGETS = syntax-runtime @IF_NATIVE@RUNTIME_DEPEND_TARGETS = compile-runtime @IF_CROSS@RUNTIME_DEPEND_TARGETS = stamp_cross-finished @@ -228,6 +228,11 @@ syntax-runtime: $(TOOLCHAIN) echo ' (lambda () (load "runtime.sf")))') \ | $(TOOL_COMPILER) +.PHONY: bundle-runtime +bundle-runtime: compile-runtime +bundle-runtime: runtime/runtime-unx.c +# No bundle to build because this is statically linked into the ucode. + runtime/runtime-unx.pkd: $(RUNTIME_CREF_TARGETS) ################ @@ -731,8 +736,10 @@ stamp_cross-finished: stamp_cross-host microcode/scheme # Microcode ################ -microcode/scheme: $(RUNTIME_LIARC_TARGETS) +@IF_LIARC@@IF_CROSS@microcode/scheme: stamp_cross-host +@IF_LIARC@@IF_NATIVE@microcode/scheme: $(RUNTIME_LIARC_TARGETS) @IF_SVM@microcode/scheme: microcode/svm1-defns.h +microcode/scheme: +(cd microcode && $(MAKE) all) .PHONY: compile-microcode -- 2.25.1