Page MenuHomeFreeBSD

Eliminate building LINT makefiles
ClosedPublic

Authored by imp on Sep 23 2020, 10:04 PM.
Tags
None
Referenced Files
F81957221: D26540.diff
Tue, Apr 23, 6:05 PM
Unknown Object (File)
Mon, Apr 22, 11:08 PM
Unknown Object (File)
Mon, Apr 22, 10:55 PM
Unknown Object (File)
Sun, Apr 21, 5:56 AM
Unknown Object (File)
Mar 22 2024, 5:04 PM
Unknown Object (File)
Jan 12 2024, 4:08 AM
Unknown Object (File)
Dec 20 2023, 6:40 AM
Unknown Object (File)
Oct 25 2023, 8:02 AM

Details

Summary

Stop ignoring makeLINT generated files

We're going to check these files in shortly since we don't need to
generate them anymore. Generated files cause issues for different work
flows anyway.

Create in-tree LINT files

Now that config(8) has supported include for 19 years, transition to
including the NOTES files. include support didn't exist at the time,
nor did the envvar stuff recently added. Now that it does, eliminate
the building of LINT files by just including everything you need.

Note: This may cause conflicts with updating in some cases.
find sys -name LINT\* -rm
is suggested across this commit to remove the generated LINT
files.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Sep 23 2020, 10:04 PM
kevans added a subscriber: kevans.

Yup, this matches what I envisioned when you pitched it! =)

This revision is now accepted and ready to land.Sep 23 2020, 11:08 PM

I rebased D26502 on top of this and it builds fine.

sys/amd64/conf/LINT
2 ↗(On Diff #77462)

Should these have ident LINT?

sys/amd64/conf/LINT
2 ↗(On Diff #77462)

works without it.... The current generated LINT files don't have it....

otoh, it won't hurt anything.

sys/amd64/conf/LINT
2 ↗(On Diff #77462)

Let's save the bytes then >:)

sys/amd64/conf/LINT
2 ↗(On Diff #77462)

It inherits the IDENT from sys/conf/NOTES in all cases

sys/amd64/conf/LINT
2 ↗(On Diff #77462)

That makes sense. I thought to look in sys/${arch}/conf/NOTES but not there for some reason.

This revision was automatically updated to reflect the committed changes.