Page MenuHomeFreeBSD

Don't store generated firmware object files in the source directory.
ClosedPublic

Authored by jhb on May 9 2016, 10:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 23, 3:40 PM
Unknown Object (File)
Thu, Mar 20, 5:49 PM
Unknown Object (File)
Mon, Mar 17, 12:24 AM
Unknown Object (File)
Feb 21 2025, 12:07 AM
Unknown Object (File)
Jan 11 2025, 8:53 PM
Unknown Object (File)
Jan 8 2025, 8:48 AM
Unknown Object (File)
Nov 27 2024, 6:31 AM
Unknown Object (File)
Nov 24 2024, 3:16 PM
Subscribers
None

Details

Summary

Don't store generated firmware object files in the source directory.

Trim the leading directory of a firmware source file from the resulting
target object file name so the object file is stored in the object
directory. Previously, using 'FIRMWS= /path/to/fw.bin:fw.bin' would
store the generated 'fw.bin.fwo' file in the /path/to directory. Now
it stores it in the object directory of the kernel module being built.

Test Plan
  • Build a firmware module that doesn't use uudecode to extract a file into the CWD first with a read-only source tree.
  • Still need to do a test run of this fix in tinderbox.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3648
Build 3691: arc lint + arc unit

Event Timeline

jhb retitled this revision from to Don't store generated firmware object files in the source directory..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added reviewers: bdrewery, imp, adrian.
bdrewery edited edge metadata.

Seems ok.

This revision is now accepted and ready to land.May 10 2016, 12:10 AM
This revision was automatically updated to reflect the committed changes.