Rebuild sysent when capabilities.conf is updated.

Reviewed by:	brooks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25571
This commit is contained in:
Mark Johnston 2020-07-07 16:35:52 +00:00
parent 50f54daf41
commit 04ed45b968
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362993

View File

@ -22,6 +22,13 @@ SYSENT_CONF?= syscalls.conf
SRCS+= ${SYSENT_FILE}
SRCS+= ${SYSENT_CONF}
# Ensure that the target gets updated if the capabilities file is modified,
# even though it is not an explicit input to makesyscalls.lua. For some
# targets, like Linux system calls, this is unnecessary, but a spurious rebuild
# is both rare and harmless.
CAPABILITIES_CONF?= ${SYSDIR}/kern/capabilities.conf
SRCS+= ${CAPABILITIES_CONF}
MAKESYSCALLS_INTERP?= ${LUA}
MAKESYSCALLS_SCRIPT?= ${SYSDIR}/tools/makesyscalls.lua
MAKESYSCALLS= ${MAKESYSCALLS_INTERP} ${MAKESYSCALLS_SCRIPT}