Page MenuHomeFreeBSD

sysent: add sysent-force targets
ClosedPublic

Authored by kevans on Dec 9 2021, 5:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 19 2024, 4:03 AM
Unknown Object (File)
Oct 18 2024, 9:19 AM
Unknown Object (File)
Oct 4 2024, 5:52 AM
Unknown Object (File)
Oct 4 2024, 12:53 AM
Unknown Object (File)
Oct 3 2024, 8:56 AM
Unknown Object (File)
Oct 2 2024, 4:47 PM
Unknown Object (File)
Oct 1 2024, 1:27 PM
Unknown Object (File)
Sep 29 2024, 9:13 PM
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.