Page MenuHomeFreeBSD

LinuxKPI: treat firmware file names more lenient
ClosedPublic

Authored by bz on Mar 31 2021, 3:44 PM.
Tags
None
Referenced Files
F107182664: D29514.diff
Sat, Jan 11, 8:48 AM
Unknown Object (File)
Dec 5 2024, 4:48 PM
Unknown Object (File)
Nov 25 2024, 10:05 AM
Unknown Object (File)
Nov 24 2024, 4:00 AM
Unknown Object (File)
Nov 23 2024, 1:52 PM
Unknown Object (File)
Nov 19 2024, 11:46 PM
Unknown Object (File)
Nov 7 2024, 3:23 AM
Unknown Object (File)
Oct 20 2024, 10:44 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