summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/choice_value_with_m_dep/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/choice_value_with_m_dep/Kconfig')
-rw-r--r--scripts/kconfig/tests/choice_value_with_m_dep/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/choice_value_with_m_dep/Kconfig b/scripts/kconfig/tests/choice_value_with_m_dep/Kconfig
new file mode 100644
index 0000000000..11ac25c260
--- /dev/null
+++ b/scripts/kconfig/tests/choice_value_with_m_dep/Kconfig
@@ -0,0 +1,19 @@
+config MODULES
+ def_bool y
+ option modules
+
+config DEP
+ tristate
+ default m
+
+choice
+ prompt "Tristate Choice"
+
+config CHOICE0
+ tristate "Choice 0"
+
+config CHOICE1
+ tristate "Choice 1"
+ depends on DEP
+
+endchoice