aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-28 22:46:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-28 22:46:52 +0100
commit831ab600e46756d0795e4060813650c391e90dda (patch)
treee5a1ec2af1a25094db3057205e1a0d9f00033add /tests
parent9cdeaa54beefaecc0ed66c046d39d823b98848ba (diff)
downloadgnumach-831ab600e46756d0795e4060813650c391e90dda.tar.gz
gnumach-831ab600e46756d0795e4060813650c391e90dda.tar.bz2
gnumach-831ab600e46756d0795e4060813650c391e90dda.zip
tests: Fix out-of-order generation of mig files
Make is allowed to run the tests/module-% prereqs out-of-order, so explicit the dependency between installing .defs files and generating .user/server.c.
Diffstat (limited to 'tests')
-rw-r--r--tests/user-qemu.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/user-qemu.mk b/tests/user-qemu.mk
index 055b0149..3dd2e46c 100644
--- a/tests/user-qemu.mk
+++ b/tests/user-qemu.mk
@@ -36,6 +36,7 @@ $(MIG_OUTDIR):
mkdir -p $@
define generate_mig_client
+$(MACH_TESTINCLUDE)/$(1)/$(2).defs: $(MACH_TESTINSTALL)
$(MIG_OUTDIR)/$(2).user.c: prepare-test $(MIG_OUTDIR) $(MACH_TESTINCLUDE)/$(1)/$(2).defs
$(USER_CPP) $(USER_CPPFLAGS) $(MIG_CPPFLAGS) \
-o $(MIG_OUTDIR)/$(2).user.defs \
@@ -48,6 +49,7 @@ $(MIG_OUTDIR)/$(2).user.c: prepare-test $(MIG_OUTDIR) $(MACH_TESTINCLUDE)/$(1)/$
endef
define generate_mig_server
+$(MACH_TESTINCLUDE)/$(1)/$(2).defs: $(MACH_TESTINSTALL)
$(MIG_OUTDIR)/$(2).server.c: prepare-test $(MIG_OUTDIR) $(srcdir)/include/$(1)/$(2).defs
$(USER_CPP) $(USER_CPPFLAGS) $(MIG_CPPFLAGS) \
-o $(MIG_OUTDIR)/$(2).server.defs \