2006-08-04 19:12:54

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] kconfig language: add more keywords

From: Randy Dunlap <[email protected]>

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

Signed-off-by: Randy Dunlap <[email protected]>
---
Documentation/kbuild/kconfig-language.txt | 12 ++++++++++++
1 files changed, 12 insertions(+)

--- linux-2618-rc3g2.orig/Documentation/kbuild/kconfig-language.txt
+++ linux-2618-rc3g2/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
@@ -280,3 +285,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.


---