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
This commit is contained in:
Kyle Evans 2020-09-30 00:47:57 +00:00
parent 78380908e5
commit 55be47b894

View File

@ -1503,10 +1503,14 @@ _sysent_dirs+= sys/amd64/linux \
sys/arm/linux \ sys/arm/linux \
sys/arm64/linux \ sys/arm64/linux \
sys/i386/linux sys/i386/linux
sysent: .PHONY sysent: .PHONY
.for _dir in ${_sysent_dirs} .for _dir in ${_sysent_dirs}
sysent-${_dir}: .PHONY
@echo "${MAKE} -C ${.CURDIR}/${_dir} sysent" @echo "${MAKE} -C ${.CURDIR}/${_dir} sysent"
${_+_}@env PATH=${_sysent_PATH} ${MAKE} -C ${.CURDIR}/${_dir} sysent ${_+_}@env PATH=${_sysent_PATH} ${MAKE} -C ${.CURDIR}/${_dir} sysent
sysent: sysent-${_dir}
.endfor .endfor
# #