kconfig-language.rst (c8b8b8190a80b591aa73c27c70a668799f8db547) | kconfig-language.rst (fde192511bdbff554320b31574bb8a9cb3275522) |
---|---|
1================ 2Kconfig Language 3================ 4 5Introduction 6------------ 7 8The configuration database is a collection of configuration options --- 395 unchanged lines hidden (view full) --- 404choices:: 405 406 "choice" 407 <choice options> 408 <choice block> 409 "endchoice" 410 411This defines a choice group and accepts any of the above attributes as | 1================ 2Kconfig Language 3================ 4 5Introduction 6------------ 7 8The configuration database is a collection of configuration options --- 395 unchanged lines hidden (view full) --- 404choices:: 405 406 "choice" 407 <choice options> 408 <choice block> 409 "endchoice" 410 411This defines a choice group and accepts any of the above attributes as |
412options. A choice can only be of type bool or tristate. If no type is 413specified for a choice, its type will be determined by the type of 414the first choice element in the group or remain unknown if none of the 415choice elements have a type specified, as well. | 412options. |
416 | 413 |
417While a boolean choice only allows a single config entry to be 418selected, a tristate choice also allows any number of config entries 419to be set to 'm'. This can be used if multiple drivers for a single 420hardware exists and only a single driver can be compiled/loaded into 421the kernel, but all drivers can be compiled as modules. | 414A choice only allows a single config entry to be selected. |
422 423comment:: 424 425 "comment" <prompt> 426 <comment options> 427 428This defines a comment which is displayed to the user during the 429configuration process and is also echoed to the output files. The only --- 346 unchanged lines hidden --- | 415 416comment:: 417 418 "comment" <prompt> 419 <comment options> 420 421This defines a comment which is displayed to the user during the 422configuration process and is also echoed to the output files. The only --- 346 unchanged lines hidden --- |