Atlas - Kassignable

Home / ext / kconfiglib / tests Lines: 1 | Size: 3586 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1config MODULES 2 bool "modules" 3 option modules 4 5 6# Things that should never be .assignable 7 8if UNDEFINED && "const" 9endif 10 11config NO_PROMPT 12 bool 13 14config STRING 15 string "string" 16 17config INT 18 int "int" 19 20config HEX 21 hex "hex" 22 23 24# Non-selected symbols 25 26config Y_VIS_BOOL 27 bool "y-vis bool" 28 29config M_VIS_BOOL 30 bool "m-vis bool" if m 31 32config N_VIS_BOOL 33 bool "n-vis bool" if n 34 35config Y_VIS_TRI 36 tristate "y-vis tri" 37 38config M_VIS_TRI 39 tristate "m-vis tri" if m 40 41config N_VIS_TRI 42 tristate "n-vis tri" if n 43 44 45# Symbols selected to y 46 47config 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 58config Y_SEL_Y_VIS_BOOL 59 bool "y-sel y-vis bool" 60 61config Y_SEL_M_VIS_BOOL 62 bool "y-sel m-vis bool" if m 63 64config Y_SEL_N_VIS_BOOL 65 bool "y-sel n-vis bool" if n 66 67config Y_SEL_Y_VIS_TRI 68 tristate "y-sel y-vis tri" 69 70config Y_SEL_M_VIS_TRI 71 tristate "y-sel m-vis tri" if m 72 73config Y_SEL_N_VIS_TRI 74 tristate "y-sel n-vis tri" if n 75 76 77# Symbols selected to m 78 79config 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 90config M_SEL_Y_VIS_BOOL 91 bool "m-sel y-vis bool" 92 93config M_SEL_M_VIS_BOOL 94 bool "m-sel m-vis bool" if m 95 96config M_SEL_N_VIS_BOOL 97 bool "m-sel n-vis bool" if n 98 99config M_SEL_Y_VIS_TRI 100 tristate "m-sel y-vis tri" 101 102config M_SEL_M_VIS_TRI 103 tristate "m-sel m-vis tri" if m 104 105config M_SEL_N_VIS_TRI 106 tristate "m-sel n-vis tri" if n 107 108 109# Symbols implied to y 110 111config 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 122config Y_IMP_Y_VIS_BOOL 123 bool "y-imp y-vis bool" 124 125config Y_IMP_M_VIS_BOOL 126 bool "y-imp m-vis bool" if m 127 128config Y_IMP_N_VIS_BOOL 129 bool "y-imp n-vis bool" if n 130 131config Y_IMP_Y_VIS_TRI 132 tristate "y-imp y-vis tri" 133 134config Y_IMP_M_VIS_TRI 135 tristate "y-imp m-vis tri" if m 136 137config 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 143config 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 154config M_IMP_Y_VIS_BOOL 155 bool "m-imp y-vis bool" 156 157config M_IMP_M_VIS_BOOL 158 bool "m-imp m-vis bool" if m 159 160config M_IMP_N_VIS_BOOL 161 bool "m-imp n-vis bool" if n 162 163config M_IMP_Y_VIS_TRI 164 tristate "m-imp y-vis tri" 165 166config M_IMP_M_VIS_TRI 167 tristate "m-imp m-vis tri" if m 168 169config M_IMP_N_VIS_TRI 170 tristate "m-imp n-vis tri" if n 171 172 173# Symbols in y-mode choice 174 175choice Y_CHOICE 176 bool "y-mode choice" 177 178config Y_CHOICE_BOOL 179 bool "y-mode choice bool" 180 181config Y_CHOICE_TRISTATE 182 tristate "y-mode choice tristate" 183 184config Y_CHOICE_N_VIS_TRISTATE 185 tristate "y-mode choice tristate invisible" if n 186 187endchoice 188 189 190# Symbols in m/y-mode choice 191 192choice MY_CHOICE 193 tristate "m/y-mode choice" 194 195config MY_CHOICE_BOOL 196 bool "m/y-mode choice bool" 197 198config MY_CHOICE_TRISTATE 199 tristate "m/y-mode choice tristate" 200 201config MY_CHOICE_N_VIS_TRISTATE 202 tristate "m/y-mode choice tristate invisible" if n 203 204endchoice 205 206 207# Choices with some other possible modes 208 209choice NMY_CHOICE 210 tristate "n/m/y-mode choice" 211 optional 212endchoice 213 214choice NY_CHOICE 215 bool "n/y-mode choice" 216 optional 217endchoice 218 219choice NM_CHOICE 220 tristate "n/m-mode choice" if m 221 optional 222endchoice 223 224choice M_CHOICE 225 tristate "m-mode choice" if m 226endchoice 227 228choice N_CHOICE 229 tristate "n-mode choice" if n 230endchoice 231
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.