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
F169269416: D13125.id35357.diff
Tue, Sep 1, 2:41 AM
F169173127: D13125.diff
Mon, Aug 31, 4:59 PM
F169139962: D13125.id.diff
Mon, Aug 31, 1:48 PM
Unknown Object (File)
Sun, Aug 30, 5:08 PM
Unknown Object (File)
Sun, Aug 30, 8:28 AM
Unknown Object (File)
Sat, Aug 29, 1:49 PM
Unknown Object (File)
Thu, Aug 27, 1:39 PM
Unknown Object (File)
Wed, Aug 26, 5:43 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.