| 1 |
config MODULES |
| 2 |
bool "modules" |
| 3 |
option modules |
| 4 |
|
| 5 |
|
| 6 |
# Things that should never be .assignable |
| 7 |
|
| 8 |
if UNDEFINED && "const" |
| 9 |
endif |
| 10 |
|
| 11 |
config NO_PROMPT |
| 12 |
bool |
| 13 |
|
| 14 |
config STRING |
| 15 |
string "string" |
| 16 |
|
| 17 |
config INT |
| 18 |
int "int" |
| 19 |
|
| 20 |
config HEX |
| 21 |
hex "hex" |
| 22 |
|
| 23 |
|
| 24 |
# Non-selected symbols |
| 25 |
|
| 26 |
config Y_VIS_BOOL |
| 27 |
bool "y-vis bool" |
| 28 |
|
| 29 |
config M_VIS_BOOL |
| 30 |
bool "m-vis bool" if m |
| 31 |
|
| 32 |
config N_VIS_BOOL |
| 33 |
bool "n-vis bool" if n |
| 34 |
|
| 35 |
config Y_VIS_TRI |
| 36 |
tristate "y-vis tri" |
| 37 |
|
| 38 |
config M_VIS_TRI |
| 39 |
tristate "m-vis tri" if m |
| 40 |
|
| 41 |
config N_VIS_TRI |
| 42 |
tristate "n-vis tri" if n |
| 43 |
|
| 44 |
|
| 45 |
# Symbols selected to y |
| 46 |
|
| 47 |
config Y_SELECTOR |
| 48 |
def_tristate y |
| 49 |
|
| 50 |
select Y_SEL_Y_VIS_BOOL |
| 51 |
select Y_SEL_M_VIS_BOOL |
| 52 |
select Y_SEL_N_VIS_BOOL |
| 53 |
|
| 54 |
select Y_SEL_Y_VIS_TRI |
| 55 |
select Y_SEL_M_VIS_TRI |
| 56 |
select Y_SEL_N_VIS_TRI |
| 57 |
|
| 58 |
config Y_SEL_Y_VIS_BOOL |
| 59 |
bool "y-sel y-vis bool" |
| 60 |
|
| 61 |
config Y_SEL_M_VIS_BOOL |
| 62 |
bool "y-sel m-vis bool" if m |
| 63 |
|
| 64 |
config Y_SEL_N_VIS_BOOL |
| 65 |
bool "y-sel n-vis bool" if n |
| 66 |
|
| 67 |
config Y_SEL_Y_VIS_TRI |
| 68 |
tristate "y-sel y-vis tri" |
| 69 |
|
| 70 |
config Y_SEL_M_VIS_TRI |
| 71 |
tristate "y-sel m-vis tri" if m |
| 72 |
|
| 73 |
config Y_SEL_N_VIS_TRI |
| 74 |
tristate "y-sel n-vis tri" if n |
| 75 |
|
| 76 |
|
| 77 |
# Symbols selected to m |
| 78 |
|
| 79 |
config M_SELECTOR |
| 80 |
def_tristate m |
| 81 |
|
| 82 |
select M_SEL_Y_VIS_BOOL |
| 83 |
select M_SEL_M_VIS_BOOL |
| 84 |
select M_SEL_N_VIS_BOOL |
| 85 |
|
| 86 |
select M_SEL_Y_VIS_TRI |
| 87 |
select M_SEL_M_VIS_TRI |
| 88 |
select M_SEL_N_VIS_TRI |
| 89 |
|
| 90 |
config M_SEL_Y_VIS_BOOL |
| 91 |
bool "m-sel y-vis bool" |
| 92 |
|
| 93 |
config M_SEL_M_VIS_BOOL |
| 94 |
bool "m-sel m-vis bool" if m |
| 95 |
|
| 96 |
config M_SEL_N_VIS_BOOL |
| 97 |
bool "m-sel n-vis bool" if n |
| 98 |
|
| 99 |
config M_SEL_Y_VIS_TRI |
| 100 |
tristate "m-sel y-vis tri" |
| 101 |
|
| 102 |
config M_SEL_M_VIS_TRI |
| 103 |
tristate "m-sel m-vis tri" if m |
| 104 |
|
| 105 |
config M_SEL_N_VIS_TRI |
| 106 |
tristate "m-sel n-vis tri" if n |
| 107 |
|
| 108 |
|
| 109 |
# Symbols implied to y |
| 110 |
|
| 111 |
config Y_IMPLIER |
| 112 |
def_tristate y |
| 113 |
|
| 114 |
imply Y_IMP_Y_VIS_BOOL |
| 115 |
imply Y_IMP_M_VIS_BOOL |
| 116 |
imply Y_IMP_N_VIS_BOOL |
| 117 |
|
| 118 |
imply Y_IMP_Y_VIS_TRI |
| 119 |
imply Y_IMP_M_VIS_TRI |
| 120 |
imply Y_IMP_N_VIS_TRI |
| 121 |
|
| 122 |
config Y_IMP_Y_VIS_BOOL |
| 123 |
bool "y-imp y-vis bool" |
| 124 |
|
| 125 |
config Y_IMP_M_VIS_BOOL |
| 126 |
bool "y-imp m-vis bool" if m |
| 127 |
|
| 128 |
config Y_IMP_N_VIS_BOOL |
| 129 |
bool "y-imp n-vis bool" if n |
| 130 |
|
| 131 |
config Y_IMP_Y_VIS_TRI |
| 132 |
tristate "y-imp y-vis tri" |
| 133 |
|
| 134 |
config Y_IMP_M_VIS_TRI |
| 135 |
tristate "y-imp m-vis tri" if m |
| 136 |
|
| 137 |
config Y_IMP_N_VIS_TRI |
| 138 |
tristate "y-imp n-vis tri" if n |
| 139 |
|
| 140 |
|
| 141 |
# Symbols implied to m (never affects assignable values) |
| 142 |
|
| 143 |
config M_IMPLIER |
| 144 |
def_tristate m |
| 145 |
|
| 146 |
imply M_IMP_Y_VIS_BOOL |
| 147 |
imply M_IMP_M_VIS_BOOL |
| 148 |
imply M_IMP_N_VIS_BOOL |
| 149 |
|
| 150 |
imply M_IMP_Y_VIS_TRI |
| 151 |
imply M_IMP_M_VIS_TRI |
| 152 |
imply M_IMP_N_VIS_TRI |
| 153 |
|
| 154 |
config M_IMP_Y_VIS_BOOL |
| 155 |
bool "m-imp y-vis bool" |
| 156 |
|
| 157 |
config M_IMP_M_VIS_BOOL |
| 158 |
bool "m-imp m-vis bool" if m |
| 159 |
|
| 160 |
config M_IMP_N_VIS_BOOL |
| 161 |
bool "m-imp n-vis bool" if n |
| 162 |
|
| 163 |
config M_IMP_Y_VIS_TRI |
| 164 |
tristate "m-imp y-vis tri" |
| 165 |
|
| 166 |
config M_IMP_M_VIS_TRI |
| 167 |
tristate "m-imp m-vis tri" if m |
| 168 |
|
| 169 |
config M_IMP_N_VIS_TRI |
| 170 |
tristate "m-imp n-vis tri" if n |
| 171 |
|
| 172 |
|
| 173 |
# Symbols in y-mode choice |
| 174 |
|
| 175 |
choice Y_CHOICE |
| 176 |
bool "y-mode choice" |
| 177 |
|
| 178 |
config Y_CHOICE_BOOL |
| 179 |
bool "y-mode choice bool" |
| 180 |
|
| 181 |
config Y_CHOICE_TRISTATE |
| 182 |
tristate "y-mode choice tristate" |
| 183 |
|
| 184 |
config Y_CHOICE_N_VIS_TRISTATE |
| 185 |
tristate "y-mode choice tristate invisible" if n |
| 186 |
|
| 187 |
endchoice |
| 188 |
|
| 189 |
|
| 190 |
# Symbols in m/y-mode choice |
| 191 |
|
| 192 |
choice MY_CHOICE |
| 193 |
tristate "m/y-mode choice" |
| 194 |
|
| 195 |
config MY_CHOICE_BOOL |
| 196 |
bool "m/y-mode choice bool" |
| 197 |
|
| 198 |
config MY_CHOICE_TRISTATE |
| 199 |
tristate "m/y-mode choice tristate" |
| 200 |
|
| 201 |
config MY_CHOICE_N_VIS_TRISTATE |
| 202 |
tristate "m/y-mode choice tristate invisible" if n |
| 203 |
|
| 204 |
endchoice |
| 205 |
|
| 206 |
|
| 207 |
# Choices with some other possible modes |
| 208 |
|
| 209 |
choice NMY_CHOICE |
| 210 |
tristate "n/m/y-mode choice" |
| 211 |
optional |
| 212 |
endchoice |
| 213 |
|
| 214 |
choice NY_CHOICE |
| 215 |
bool "n/y-mode choice" |
| 216 |
optional |
| 217 |
endchoice |
| 218 |
|
| 219 |
choice NM_CHOICE |
| 220 |
tristate "n/m-mode choice" if m |
| 221 |
optional |
| 222 |
endchoice |
| 223 |
|
| 224 |
choice M_CHOICE |
| 225 |
tristate "m-mode choice" if m |
| 226 |
endchoice |
| 227 |
|
| 228 |
choice N_CHOICE |
| 229 |
tristate "n-mode choice" if n |
| 230 |
endchoice |