1choice
2	prompt "choose A or B"
3
4config A
5	bool "A"
6
7config B
8	bool "B"
9
10endchoice
11
12choice
13	prompt "choose X or Y"
14	depends on B
15
16config X
17	bool "X"
18
19config Y
20	bool "Y"
21
22endchoice
23