Re: [PATCH] efi_loader: Make EFI_VARIABLES_PRESEED depend on !COMPILE_TEST

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Aug 12 20:08:44 CEST 2025


Am 12. August 2025 20:01:32 MESZ schrieb Tom Rini <trini at konsulko.com>:
>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 at konsulko.com>

Acked-by: Heinrich Schuchardt <xypron.glpk at gmx.de>


>---
>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.glpk at gmx.de>
>Cc: Ilias Apalodimas <ilias.apalodimas at 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



More information about the U-Boot mailing list