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)
Wed, May 15, 6:43 PM
Unknown Object (File)
Tue, May 14, 6:11 PM
Unknown Object (File)
Mar 18 2024, 8:04 PM
Unknown Object (File)
Jan 22 2024, 11:02 PM
Unknown Object (File)
Jan 10 2024, 1:42 AM
Unknown Object (File)
Dec 23 2023, 12:31 PM
Unknown Object (File)
Dec 20 2023, 5:27 AM
Unknown Object (File)
Oct 14 2023, 11:52 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.