forked from Minki/linux
kconfig: linguistic fixes for Documentation/kbuild/kconfig-language.txt
I have done a look-through through Documentation/kbuild/ and my corrections (proposed) are attached. Cc'ed are original author Michael (responsible for comitting changes to these files?), Sam (kbuild maintainer), Adrian (-trivial maintainer). Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
65ff22ee3b
commit
83dcde4e1b
@ -67,19 +67,19 @@ applicable everywhere (see syntax).
|
|||||||
- default value: "default" <expr> ["if" <expr>]
|
- default value: "default" <expr> ["if" <expr>]
|
||||||
A config option can have any number of default values. If multiple
|
A config option can have any number of default values. If multiple
|
||||||
default values are visible, only the first defined one is active.
|
default values are visible, only the first defined one is active.
|
||||||
Default values are not limited to the menu entry, where they are
|
Default values are not limited to the menu entry where they are
|
||||||
defined, this means the default can be defined somewhere else or be
|
defined. This means the default can be defined somewhere else or be
|
||||||
overridden by an earlier definition.
|
overridden by an earlier definition.
|
||||||
The default value is only assigned to the config symbol if no other
|
The default value is only assigned to the config symbol if no other
|
||||||
value was set by the user (via the input prompt above). If an input
|
value was set by the user (via the input prompt above). If an input
|
||||||
prompt is visible the default value is presented to the user and can
|
prompt is visible the default value is presented to the user and can
|
||||||
be overridden by him.
|
be overridden by him.
|
||||||
Optionally dependencies only for this default value can be added with
|
Optionally, dependencies only for this default value can be added with
|
||||||
"if".
|
"if".
|
||||||
|
|
||||||
- dependencies: "depends on"/"requires" <expr>
|
- dependencies: "depends on"/"requires" <expr>
|
||||||
This defines a dependency for this menu entry. If multiple
|
This defines a dependency for this menu entry. If multiple
|
||||||
dependencies are defined they are connected with '&&'. Dependencies
|
dependencies are defined, they are connected with '&&'. Dependencies
|
||||||
are applied to all other options within this menu entry (which also
|
are applied to all other options within this menu entry (which also
|
||||||
accept an "if" expression), so these two examples are equivalent:
|
accept an "if" expression), so these two examples are equivalent:
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ Nonconstant symbols are the most common ones and are defined with the
|
|||||||
'config' statement. Nonconstant symbols consist entirely of alphanumeric
|
'config' statement. Nonconstant symbols consist entirely of alphanumeric
|
||||||
characters or underscores.
|
characters or underscores.
|
||||||
Constant symbols are only part of expressions. Constant symbols are
|
Constant symbols are only part of expressions. Constant symbols are
|
||||||
always surrounded by single or double quotes. Within the quote any
|
always surrounded by single or double quotes. Within the quote, any
|
||||||
other character is allowed and the quotes can be escaped using '\'.
|
other character is allowed and the quotes can be escaped using '\'.
|
||||||
|
|
||||||
Menu structure
|
Menu structure
|
||||||
@ -237,7 +237,7 @@ choices:
|
|||||||
<choice block>
|
<choice block>
|
||||||
"endchoice"
|
"endchoice"
|
||||||
|
|
||||||
This defines a choice group and accepts any of above attributes as
|
This defines a choice group and accepts any of the above attributes as
|
||||||
options. A choice can only be of type bool or tristate, while a boolean
|
options. A choice can only be of type bool or tristate, while a boolean
|
||||||
choice only allows a single config entry to be selected, a tristate
|
choice only allows a single config entry to be selected, a tristate
|
||||||
choice also allows any number of config entries to be set to 'm'. This
|
choice also allows any number of config entries to be set to 'm'. This
|
||||||
|
Loading…
Reference in New Issue
Block a user