1# SPDX-License-Identifier: GPL-2.0
2
3config A
4	bool "A"
5	default y
6
7config A0
8	bool "A0"
9	depends on A
10	default y
11	help
12	  This depends on A, so should be a submenu of A.
13
14config A0_0
15	bool "A1_0"
16	depends on A0
17	help
18	  Submenus are created recursively.
19	  This should be a submenu of A0.
20
21config A1
22	bool "A1"
23	depends on A
24	default y
25	help
26	  This should line up with A0.
27
28choice
29	prompt "choice"
30	depends on A1
31	help
32	  Choice should become a submenu as well.
33
34config A1_0
35	bool "A1_0"
36
37config A1_1
38	bool "A1_1"
39
40endchoice
41
42config B
43	bool "B"
44	help
45	  This is independent of A.
46
47config C
48	bool "C"
49	depends on A
50	help
51	  This depends on A, but not a consecutive item, so can/should not
52	  be a submenu.
53