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