aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/cloudabi64/Makefile
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-01-10 18:24:17 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-01-10 18:24:17 +0000
commit1171c633fb097a19e1da87128604190bc6d27341 (patch)
treeee7dda0a82c7baceb26ae6f20aee34678b0a773e /sys/compat/cloudabi64/Makefile
parent554f71e2b336668acf07527ef09bc11220eaf1a5 (diff)
downloadsrc-1171c633fb097a19e1da87128604190bc6d27341.tar.gz
src-1171c633fb097a19e1da87128604190bc6d27341.zip
Set .ORDER for makesyscalls generated files
When either makesyscalls.lua or syscalls.master changes, all of the ${GENERATED} targets are now out-of-date. With make jobs > 1, this means we will run the makesyscalls script in parallel for the same ABI, generating the same set of output files. Prior to r356603 , there is a large window for interlacing output for some of the generated files that we were generating in-place rather than staging in a temp dir. After that, we still should't need to run the script more than once per-ABI as the first invocation should update all of them. Add .ORDER to do so cleanly. Reviewed by: brooks Discussed with: sjg Differential Revision: https://reviews.freebsd.org/D23099
Notes
Notes: svn path=/head/; revision=356604
Diffstat (limited to 'sys/compat/cloudabi64/Makefile')
-rw-r--r--sys/compat/cloudabi64/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/cloudabi64/Makefile b/sys/compat/cloudabi64/Makefile
index 90b671ce1952..fca62610cce4 100644
--- a/sys/compat/cloudabi64/Makefile
+++ b/sys/compat/cloudabi64/Makefile
@@ -17,6 +17,9 @@ GENERATED= cloudabi64_proto.h \
all:
@echo "make sysent only"
+# We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than
+# potentially once for each ${GENERATED} file.
+.ORDER: ${GENERATED}
sysent: ${GENERATED}
${GENERATED}: ${MAKESYSCALLS} ${SRCS}