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)
Apr 26 2024, 9:03 PM
Unknown Object (File)
Mar 14 2024, 2:32 PM
Unknown Object (File)
Mar 14 2024, 2:32 PM
Unknown Object (File)
Mar 14 2024, 2:32 PM
Unknown Object (File)
Mar 14 2024, 2:20 PM
Unknown Object (File)
Jan 27 2024, 9:49 PM
Unknown Object (File)
Jan 7 2024, 8:07 AM
Unknown Object (File)
Nov 8 2023, 11:51 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12800
Build 13067: arc lint + arc unit

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.