Page MenuHomeFreeBSD

Eliminate building LINT makefiles

Authored by imp on Sep 23 2020, 10:04 PM.



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

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; 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.

2 ↗(On Diff #77462)

Should these have ident LINT?

2 ↗(On Diff #77462)

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

otoh, it won't hurt anything.

2 ↗(On Diff #77462)

Let's save the bytes then >:)

2 ↗(On Diff #77462)

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

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.