aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/linux
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/arm/linux
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/arm/linux')
-rw-r--r--sys/arm/linux/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/linux/Makefile b/sys/arm/linux/Makefile
index 66bd3d08d1e3..c37a5b25160c 100644
--- a/sys/arm/linux/Makefile
+++ b/sys/arm/linux/Makefile
@@ -19,6 +19,9 @@ GENERATED= linux_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}