Skip to content
Snippets Groups Projects
Commit 6e66b900 authored by Randy Dunlap's avatar Randy Dunlap Committed by Sam Ravnborg
Browse files

kconfig: update kconfig-language text


Add kconfig-language docs for mainmenu, def_bool, and def_tristate.
Remove "requires" as a synonym of "depends on" since it was removed
from  the parser in commit 247537b9.

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 910b4046
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,12 @@ applicable everywhere (see syntax). ...@@ -77,7 +77,12 @@ applicable everywhere (see syntax).
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> - type definition + default value:
"def_bool"/"def_tristate" <expr> ["if" <expr>]
This is a shorthand notation for a type definition plus a value.
Optionally dependencies for this default value can be added with "if".
- dependencies: "depends on" <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
...@@ -289,3 +294,10 @@ source: ...@@ -289,3 +294,10 @@ source:
"source" <prompt> "source" <prompt>
This reads the specified configuration file. This file is always parsed. This reads the specified configuration file. This file is always parsed.
mainmenu:
"mainmenu" <prompt>
This sets the config program's title bar if the config program chooses
to use it.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment