Skip to contentSkip to conversation

sandbox: Make SANDBOX_xPL depend on !COMPILE_TEST

PATCH In review Tom Rini 1 participant 2 messages Oct 3, 2025 – Oct 14, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 sandbox: Make SANDBOX_xPL depend on !COMPILE_TEST

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.

---
 arch/sandbox/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/sandbox/Kconfig +3 -0
index d61a327f151a..e0c70dd31424 100644
@@ -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
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

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.

Applied to u-boot/master, thanks!

[1/1] sandbox: Make SANDBOX_xPL depend on !COMPILE_TEST

      commit: 16b0482a7430554f150dfc8134e130d40fc72ba2
Signature · 1 line
Tom