sysent: regenerate files every time

This forces everything to be regenerated by marking makesyscalls.lua
as .PHONY, which may be helpful in, e.g., rebase scenarios, which may
have unexpected effects on mtimes but still really need a regen.

For now we apply this to the default sysent target, which is ran
manually and not as a part of buildkernel.  We can reconsider this if
someone manually running it has issues with the runtime, but the top
level sysent target can run each in parallel; I recommend -j4 or so.

Requested by:	kib
Reviewed by:	brooks, kib (both earlier version)
Differential Revision:	https://reviews.freebsd.org/D33357
This commit is contained in:
Kyle Evans 2021-12-08 23:20:16 -06:00
parent e6f760f0e8
commit 8ea3921f93

View File

@ -40,5 +40,10 @@ all:
.ORDER: ${GENERATED}
sysent: ${GENERATED}
# We slap a .PHONY on makesyscalls.lua so that we regenerate every single time,
# for now, which can be less painful across rebases or other things that may
# have odd effects on mtimes.
${MAKESYSCALLS_SCRIPT}: .PHONY
${GENERATED}: ${MAKESYSCALLS_SCRIPT} ${SRCS}
${MAKESYSCALLS} ${SYSENT_FILE} ${SYSENT_CONF}