[PATCH 2/2] efi: payload: enable build for sandbox

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Dec 11 11:33:13 PST 2025


For some extra coverage, let's allow building the EFI payload code as
part of the allyesconfig build.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 efi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/efi/Kconfig b/efi/Kconfig
index 3fb696f70dc2..23ac601af647 100644
--- a/efi/Kconfig
+++ b/efi/Kconfig
@@ -4,7 +4,7 @@ menu "EFI (Extensible Firmware Interface) Support"
 
 config EFI_PAYLOAD
 	bool "barebox as EFI payload/app (consumer)"
-	depends on HAVE_EFI_PAYLOAD
+	depends on HAVE_EFI_PAYLOAD || COMPILE_TEST
 	select PBL_FULLY_PIC if ARM64
 	select EFI
 	select EFI_GUID
-- 
2.47.3




More information about the barebox mailing list