kconfig-language.rst (ff36e78fdb251b9fa65028554689806961e011eb) | kconfig-language.rst (def2fbffe62c00c330c7f41584a356001179c59c) |
---|---|
1================ 2Kconfig Language 3================ 4 5Introduction 6------------ 7 8The configuration database is a collection of configuration options --- 159 unchanged lines hidden (view full) --- 168 169 The following values are possible: 170 171 === === ============= ============== 172 FOO BAR BAZ's default choice for BAZ 173 === === ============= ============== 174 n y n N/m/y 175 m y m M/y/n | 1================ 2Kconfig Language 3================ 4 5Introduction 6------------ 7 8The configuration database is a collection of configuration options --- 159 unchanged lines hidden (view full) --- 168 169 The following values are possible: 170 171 === === ============= ============== 172 FOO BAR BAZ's default choice for BAZ 173 === === ============= ============== 174 n y n N/m/y 175 m y m M/y/n |
176 y y y Y/n | 176 y y y Y/m/n |
177 y n * N 178 === === ============= ============== 179 180 This is useful e.g. with multiple drivers that want to indicate their 181 ability to hook into a secondary subsystem while allowing the user to 182 configure that subsystem out without also having to unset these drivers. 183 | 177 y n * N 178 === === ============= ============== 179 180 This is useful e.g. with multiple drivers that want to indicate their 181 ability to hook into a secondary subsystem while allowing the user to 182 configure that subsystem out without also having to unset these drivers. 183 |
184 Note: If the combination of FOO=y and BAR=m causes a link error, 185 you can guard the function call with IS_REACHABLE():: 186 187 foo_init() 188 { 189 if (IS_REACHABLE(CONFIG_BAZ)) 190 baz_register(&foo); 191 ... 192 } 193 |
|
184- limiting menu display: "visible if" <expr> 185 186 This attribute is only applicable to menu blocks, if the condition is 187 false, the menu block is not displayed to the user (the symbols 188 contained there can still be selected by other symbols, though). It is 189 similar to a conditional "prompt" attribute for individual menu 190 entries. Default value of "visible" is true. 191 --- 508 unchanged lines hidden --- | 194- limiting menu display: "visible if" <expr> 195 196 This attribute is only applicable to menu blocks, if the condition is 197 false, the menu block is not displayed to the user (the symbols 198 contained there can still be selected by other symbols, though). It is 199 similar to a conditional "prompt" attribute for individual menu 200 entries. Default value of "visible" is true. 201 --- 508 unchanged lines hidden --- |