Introduce platform firmware attribute

This commit is contained in:
Mikael 2024-11-05 23:22:20 +01:00
parent f402bb1d4d
commit 7788f2f063
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -37,6 +37,7 @@ lib.makeOverridable ({
sof-firmware sof-firmware
wireless-regdb wireless-regdb
], ],
platformFirmware ? [ ],
extraFirmware ? [ ], extraFirmware ? [ ],
profiles ? { }, profiles ? { },
... ...
@ -69,7 +70,7 @@ let
forceConfig = { forceConfig = {
MODULES = false; MODULES = false;
EXTRA_FIRMWARE = extraFirmware; EXTRA_FIRMWARE = platformFirmware ++ extraFirmware |> lib.unique;
EXTRA_FIRMWARE_DIR = kernel.option firmwareEnv; EXTRA_FIRMWARE_DIR = kernel.option firmwareEnv;
}; };