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
wireless-regdb
],
platformFirmware ? [ ],
extraFirmware ? [ ],
profiles ? { },
...
@ -69,7 +70,7 @@ let
forceConfig = {
MODULES = false;
EXTRA_FIRMWARE = extraFirmware;
EXTRA_FIRMWARE = platformFirmware ++ extraFirmware |> lib.unique;
EXTRA_FIRMWARE_DIR = kernel.option firmwareEnv;
};