[PATCH v2 3/3] efi: payload: enable build for sandbox

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Dec 11 12:24:29 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>
---
v1 -> v2:
  - rebase on next instead of basing on non-upstream patch
---
 efi/payload/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/efi/payload/Kconfig b/efi/payload/Kconfig
index 2c47e6cb1805..275e053ca868 100644
--- a/efi/payload/Kconfig
+++ b/efi/payload/Kconfig
@@ -5,7 +5,7 @@ config HAVE_EFI_PAYLOAD
 
 config EFI_PAYLOAD
 	bool "Build as EFI payload"
-	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