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 <[email protected]>
---
 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

Reply via email to