[PATCH v3] kconfig: update kconfig-language text

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Friday, October 19, 2007 - 10:53 am

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

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 247537b9a270b52cc0375adcb0fb2605a160cba5.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 Documentation/kbuild/kconfig-language.txt |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

--- linux-2.6.23-git13.orig/Documentation/kbuild/kconfig-language.txt
+++ linux-2.6.23-git13/Documentation/kbuild/kconfig-language.txt
@@ -77,7 +77,12 @@ applicable everywhere (see syntax).
   Optionally, dependencies only for this default value can be added with
   "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
   dependencies are defined, they are connected with '&&'. Dependencies
   are applied to all other options within this menu entry (which also
@@ -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.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] kconfig: update kconfig-language text, Randy Dunlap, (Mon Aug 13, 11:38 am)
Re: [PATCH] kconfig: update kconfig-language text, Adrian Bunk, (Mon Aug 13, 11:54 am)
Re: [PATCH] kconfig: update kconfig-language text, Randy Dunlap, (Mon Aug 13, 12:05 pm)
Re: [PATCH] kconfig: update kconfig-language text, Robert P. J. Day, (Mon Aug 13, 12:13 pm)
Re: [PATCH] kconfig: update kconfig-language text, Randy Dunlap, (Mon Aug 13, 12:43 pm)
Re: [PATCH] kconfig: update kconfig-language text, Robert P. J. Day, (Mon Aug 13, 12:44 pm)
[-mm patch] kconfig syntax cleanups, Adrian Bunk, (Mon Aug 13, 1:05 pm)
Re: [-mm patch] kconfig syntax cleanups, Randy Dunlap, (Mon Aug 13, 2:17 pm)
Re: [-mm patch] kconfig syntax cleanups, Adrian Bunk, (Mon Aug 13, 2:31 pm)
[PATCH v3] kconfig: update kconfig-language text, Randy Dunlap, (Fri Oct 19, 10:53 am)
Re: [PATCH v3] kconfig: update kconfig-language text, Sam Ravnborg, (Fri Oct 19, 12:59 pm)