Page MenuHomeFreeBSD

sysent: add sysent-force targets
ClosedPublic

Authored by kevans on Dec 9 2021, 5:23 AM.
Tags
None
Referenced Files
F154970026: D33357.id99760.diff
Thu, Apr 30, 9:27 AM
Unknown Object (File)
Thu, Apr 23, 11:15 AM
Unknown Object (File)
Thu, Apr 23, 11:08 AM
Unknown Object (File)
Tue, Apr 21, 6:21 PM
Unknown Object (File)
Mar 19 2026, 5:45 AM
Unknown Object (File)
Mar 18 2026, 5:45 AM
Unknown Object (File)
Mar 17 2026, 7:33 AM
Unknown Object (File)
Mar 15 2026, 8:10 AM
Subscribers

Details

Summary

This forces everything to be regenerated by marking makesyscalls.lua
as .PHONY, which may be helpful in, e.g., rebase scenarios.

Requested by: kib

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kevans requested review of this revision.Dec 9 2021, 5:23 AM

Thank you very much.

This revision is now accepted and ready to land.Dec 9 2021, 5:30 AM

Is sysent ever invoked as a dependency of some other part of the build? Could we just make make sysent always build?

Right now it's never a dependency. In some ways it would be nice if it was and we could stop committing generated files, but it's potential confusing if we don't have syscalls.h and sysproto.h in the tree.

Sorry, just getting back after being away for a few days. I don't actually have a strong preference for sysent-force vs. just having sysent always regenerate. On my less-than-stellar laptop, make -j4 sysent is a hair over half a second; given how infrequently this happens in the best case, that seems minimal enough to punt until someone complains.

This revision was automatically updated to reflect the committed changes.