Page MenuHomeFreeBSD

LinuxKPI: treat firmware file names more lenient
ClosedPublic

Authored by bz on Mar 31 2021, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 11:46 PM
Unknown Object (File)
Thu, Nov 7, 3:23 AM
Unknown Object (File)
Oct 20 2024, 10:44 PM
Unknown Object (File)
Oct 16 2024, 4:21 PM
Unknown Object (File)
Oct 15 2024, 12:12 AM
Unknown Object (File)
Oct 13 2024, 9:55 PM
Unknown Object (File)
Oct 12 2024, 9:07 AM
Unknown Object (File)
Oct 11 2024, 1:26 AM

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable