aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/choice_randomize/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/choice_randomize/Kconfig')
-rw-r--r--scripts/kconfig/tests/choice_randomize/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/choice_randomize/Kconfig b/scripts/kconfig/tests/choice_randomize/Kconfig
new file mode 100644
index 00000000000000..93a1699ce3cb79
--- /dev/null
+++ b/scripts/kconfig/tests/choice_randomize/Kconfig
@@ -0,0 +1,22 @@
+choice
+ prompt "choose A or B"
+
+config A
+ bool "A"
+
+config B
+ bool "B"
+
+endchoice
+
+choice
+ prompt "choose X or Y"
+ depends on B
+
+config X
+ bool "X"
+
+config Y
+ bool "Y"
+
+endchoice