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)
May 22 2024, 10:56 AM
Unknown Object (File)
Feb 24 2024, 5:39 AM
Unknown Object (File)
Feb 11 2024, 1:59 AM
Unknown Object (File)
Feb 5 2024, 3:13 PM
Unknown Object (File)
Feb 4 2024, 6:40 AM
Unknown Object (File)
Feb 3 2024, 8:26 AM
Unknown Object (File)
Dec 22 2023, 10:32 AM
Unknown Object (File)
Dec 20 2023, 12:25 AM
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 Not Applicable
Unit
Tests Not Applicable

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.