Page MenuHomeFreeBSD

Fix 'local' to not look in the source tree for the file.
ClosedPublic

Authored by bdrewery on Nov 17 2017, 3:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 6, 3:29 AM
Unknown Object (File)
Apr 19 2026, 10:56 AM
Unknown Object (File)
Apr 10 2026, 3:49 AM
Unknown Object (File)
Apr 9 2026, 11:56 PM
Unknown Object (File)
Apr 6 2026, 8:31 AM
Unknown Object (File)
Apr 4 2026, 2:11 AM
Unknown Object (File)
Mar 30 2026, 1:28 PM
Unknown Object (File)
Mar 19 2026, 1:21 AM
Subscribers
None

Details

Summary

Usually 'local' is used along with other rules such as 'no-implicit-rule' or
'dependency' which avoids this problem. It's possible to need to use 'local'
while relying on the default rules though for a file which is not in the source
tree nor generated in the kernel.

Sponsored by: Dell

Test Plan

This has no current impact on FreeBSD KERNCONFS. I did a buildkernel
of amd64 GENERIC and have no problems.

Tested this downstream where we have our own files listed in sys/conf/files
that are generated outside of buildkernel. With "local" used now they
are properly being found.

Diff Detail

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

Event Timeline

This has a minor conflict with your D13124 change.

this sounds reasonable to me...

This revision was automatically updated to reflect the committed changes.