aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-09-30 00:47:57 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-09-30 00:47:57 +0000
commit55be47b8941b9b1c1d00b8bff23ea6bd8a580fbe (patch)
tree229877f4a09519e5c659a2848a0287f7c972f922 /Makefile.inc1
parent78380908e510198c72dba92204f1664f7ce23208 (diff)
downloadsrc-55be47b8941b9b1c1d00b8bff23ea6bd8a580fbe.tar.gz
src-55be47b8941b9b1c1d00b8bff23ea6bd8a580fbe.zip
Makefile.inc1: sysent: allow subordinate sysent targets to run in parallel
makesyscalls.lua (and indeed makesyscalls.sh) are both safe to be run in parallel, so let's do it. This is a trivial difference because runtime per-target is pretty small, but I like seeing it run in parallel when my muscle memory types `make -sj4`. Reviewed by: brooks, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26594
Notes
Notes: svn path=/head/; revision=366275
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 7aa996cc9973..c4a956d2abd6 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1503,10 +1503,14 @@ _sysent_dirs+= sys/amd64/linux \
sys/arm/linux \
sys/arm64/linux \
sys/i386/linux
+
sysent: .PHONY
.for _dir in ${_sysent_dirs}
+sysent-${_dir}: .PHONY
@echo "${MAKE} -C ${.CURDIR}/${_dir} sysent"
${_+_}@env PATH=${_sysent_PATH} ${MAKE} -C ${.CURDIR}/${_dir} sysent
+
+sysent: sysent-${_dir}
.endfor
#