efi_loader: Make EFI_VARIABLES_PRESEED depend on !COMPILE_TEST
PATCH 1/1 efi_loader: Make EFI_VARIABLES_PRESEED depend on !COMPILE_TEST
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.
---
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 <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)
lib/efi_loader/Kconfig +1 -0
@@ -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
Signature · 1 line
2.43.0
Am 12. August 2025 20:01:32 MESZ schrieb Tom Rini <[email protected]>:
Quoted 5 lines
When doing compile testing build we cannot rely on having a valid file for
EFI_VAR_SEED_FILEto exist, so disable this option when doing compile tests.Signed-off-by Tom Rini <[email protected]>
Quoted 21 lines
---
This was found when working on "allyesconfig" and the issue is that the file inEFI_VAR_SEED_FILEwill not exist.
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
---lib/efi_loader/Kconfig| 1 +1 file changed, 1 insertion(+)lib/efi_loader/Kconfig +0
-0@@ -195,6 +195,7 @@ endchoiceconfig
EFI_VARIABLES_PRESEED
bool "Initial values for UEFI variables"lib/efi_loader/Kconfig +1
-0+ depends on !COMPILE_TESTdepends on !EFI_MM_COMM_TEE
help
Include a file with the initial values for non-volatile UEFI variables
Quoted 28 lines · Tom Rini
When doing compile testing build we cannot rely on having a valid file for
EFI_VAR_SEED_FILEto exist, so disable this option when doing compile tests.Signed-off-by Tom Rini <[email protected]>---
This was found when working on "allyesconfig" and the issue is that the file inEFI_VAR_SEED_FILEwill not exist.
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>--- lib/efi_loader/Kconfig | 1 + 1 file changed, 1 insertion(+)lib/efi_loader/Kconfig +1
-1@@ -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 --
Quoted 2 lines
2.43.0