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 <tr...@konsulko.com>
---
This was found when working on "allyesconfig" and the issue is that the
file in EFI_VAR_SEED_FILE will not exist.
Cc: Heinrich Schuchardt <xypron.g...@gmx.de>
Cc: Ilias Apalodimas <ilias.apalodi...@linaro.org>
---
 lib/efi_loader/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index c2aa88f59fbb..a7092c2e8a8a 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -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
-- 
2.43.0

Reply via email to