svn commit: r362993 - head/sys/conf

Mark Johnston markj at FreeBSD.org
Tue Jul 7 16:35:53 UTC 2020


Author: markj
Date: Tue Jul  7 16:35:52 2020
New Revision: 362993
URL: https://svnweb.freebsd.org/changeset/base/362993

Log:
  Rebuild sysent when capabilities.conf is updated.
  
  Reviewed by:	brooks
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D25571

Modified:
  head/sys/conf/sysent.mk

Modified: head/sys/conf/sysent.mk
==============================================================================
--- head/sys/conf/sysent.mk	Tue Jul  7 16:07:39 2020	(r362992)
+++ head/sys/conf/sysent.mk	Tue Jul  7 16:35:52 2020	(r362993)
@@ -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}


More information about the svn-src-all mailing list