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