From 7788f2f06372f65f98c9eb3b3384f55239180335 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Tue, 5 Nov 2024 23:22:20 +0100 Subject: [PATCH] Introduce platform firmware attribute --- package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.nix b/package.nix index b6bb5c7..f398a0e 100644 --- a/package.nix +++ b/package.nix @@ -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; };