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)
Thu, Nov 7, 3:23 AM
Unknown Object (File)
Sun, Oct 20, 10:44 PM
Unknown Object (File)
Wed, Oct 16, 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
Unknown Object (File)
Oct 9 2024, 6:45 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