Page MenuHomeFreeBSD

LinuxKPI: treat firmware file names more lenient
ClosedPublic

Authored by bz on Mar 31 2021, 3:44 PM.
Tags
None
Referenced Files
F170985093: D29514.id.diff
Tue, Sep 8, 12:40 AM
Unknown Object (File)
Sun, Sep 6, 2:31 PM
Unknown Object (File)
Sun, Sep 6, 1:56 PM
Unknown Object (File)
Sat, Sep 5, 8:51 PM
Unknown Object (File)
Sat, Sep 5, 3:07 PM
Unknown Object (File)
Sat, Sep 5, 11:39 AM
Unknown Object (File)
Sat, Sep 5, 10:03 AM
Unknown Object (File)
Sat, Sep 5, 8:58 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