[PATCH] kconfig: update kconfig-language text

Randy Dunlap
2007-08-13T18:49:00Z

From: Randy Dunlap <randy.dunlap@oracle.com>

Add kconfig-language docs for mainmenu, def_bool[ean],
and def_tristate.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
Documentation/kbuild/kconfig-language.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)

--- linux-2.6.23-rc3.orig/Documentation/kbuild/kconfig-language.txt
+++ linux-2.6.23-rc3/Documentation/kbuild/kconfig-language.txt
@@ -77,6 +77,11 @@ applicable everywhere (see syntax).
Optionally, dependencies only for this default value can be added with
"if".

+- type definition + default value:
+ "def_bool"/"def_boolean"/"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"/"requires" <expr>
This defines a dependency for this menu entry. If multiple
dependencies are defined, they are connected with '&&'. Dependencies
@@ -289,3 +294,10 @@ source:
"source" <prompt>

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.