efi_loader: Make EFI_VARIABLES_PRESEED depend on !COMPILE_TEST
authorTom Rini <trini@konsulko.com>
Tue, 12 Aug 2025 18:01:32 +0000 (12:01 -0600)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 30 Aug 2025 18:45:33 +0000 (20:45 +0200)
When doing compile testing build we cannot rely on having a valid file
for EFI_VAR_SEED_FILE to exist, so disable this option when doing
compile tests.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/Kconfig

index c2aa88f..a7092c2 100644 (file)
@@ -195,6 +195,7 @@ endchoice
 
 config EFI_VARIABLES_PRESEED
        bool "Initial values for UEFI variables"
+       depends on !COMPILE_TEST
        depends on !EFI_MM_COMM_TEE
        help
          Include a file with the initial values for non-volatile UEFI variables