[PATCH] sandbox: Make SANDBOX_xPL depend on !COMPILE_TEST

Tom Rini trini at konsulko.com
Fri Oct 3 22:39:32 CEST 2025


Given how these options are used in the code, it doesn't make sense to
enable them for COMPILE_TEST. Make them depend on !COMPILE_TEST.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/sandbox/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index d61a327f151a..e0c70dd31424 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -27,14 +27,17 @@ config SANDBOX_RAM_SIZE_MB
 
 config SANDBOX_SPL
 	bool "Enable SPL for sandbox"
+	depends on !COMPILE_TEST
 	select SUPPORT_SPL
 
 config SANDBOX_TPL
 	bool "Enable TPL for sandbox"
+	depends on !COMPILE_TEST
 	select SUPPORT_TPL
 
 config SANDBOX_VPL
 	bool "Enable VPL for sandbox"
+	depends on !COMPILE_TEST
 	select SUPPORT_VPL
 
 config SYS_CONFIG_NAME
-- 
2.43.0



More information about the U-Boot mailing list