summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/inter_choice/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/inter_choice/Kconfig')
-rw-r--r--scripts/kconfig/tests/inter_choice/Kconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/inter_choice/Kconfig b/scripts/kconfig/tests/inter_choice/Kconfig
new file mode 100644
index 000000000..e44449f07
--- /dev/null
+++ b/scripts/kconfig/tests/inter_choice/Kconfig
@@ -0,0 +1,23 @@
+config MODULES
+ def_bool y
+ option modules
+
+choice
+ prompt "Choice"
+
+config CHOICE_VAL0
+ tristate "Choice 0"
+
+config CHOIVE_VAL1
+ tristate "Choice 1"
+
+endchoice
+
+choice
+ prompt "Another choice"
+ depends on CHOICE_VAL0
+
+config DUMMY
+ bool "dummy"
+
+endchoice