Page MenuHomeFreeBSD

LinuxKPI: treat firmware file names more lenient
ClosedPublic

Authored by bz on Mar 31 2021, 3:44 PM.
Tags
None
Referenced Files
F134030024: D29514.id86621.diff
Thu, Oct 30, 4:12 AM
Unknown Object (File)
Tue, Oct 28, 1:20 AM
Unknown Object (File)
Sun, Oct 26, 4:23 PM
Unknown Object (File)
Tue, Oct 21, 8:10 AM
Unknown Object (File)
Mon, Oct 13, 5:07 AM
Unknown Object (File)
Mon, Oct 13, 5:07 AM
Unknown Object (File)
Mon, Oct 13, 5:07 AM
Unknown Object (File)
Sun, Oct 12, 5:11 PM

Details

Summary

A lot of firmware files have a "-" in the name. That "-" is a problem
when dealing with shell variables or loader (e.g., auto-loading .ko).
It may thus often be convenient to generate firmware kernel object files
with s/-/_/g in the name. In order to automatically find them from
drivers using LinuxKPI also substitue the '-' for a '_' like we do
for '/' and '.' already.

Reviewed-by:
MFC-after: 2 weeks
Differential Revision:

Diff Detail

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