summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/Kconfig b/Kconfig
index e0c8992..932fc8b 100644
--- a/Kconfig
+++ b/Kconfig
@@ -70,8 +70,15 @@ config TPL_BUILD
depends on $KCONFIG_OBJDIR="tpl"
default y
+config SUPPORT_SPL
+ bool
+
+config SUPPORT_TPL
+ bool
+
config SPL
bool
+ depends on SUPPORT_SPL
prompt "Enable SPL" if !SPL_BUILD
default y if SPL_BUILD
help
@@ -79,7 +86,7 @@ config SPL
config TPL
bool
- depends on SPL
+ depends on SPL && SUPPORT_TPL
prompt "Enable TPL" if !SPL_BUILD
default y if TPL_BUILD
default n