[PATCH] - Add "def_bool" Kconfig format documentation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vincent Legoll
Date: Monday, August 6, 2007 - 3:29 pm

Hello,

here is a small documentation patch for the KConfig file format
"def_bool" type definition that was missing.

I hope the patch is not mangled...

From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sat, 4 Aug 2007 16:50:06 +0200
Subject: [PATCH] - Add "def_bool" Kconfig format documentation


Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 Documentation/kbuild/kconfig-language.txt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Documentation/kbuild/kconfig-language.txt b/Documentation/kbuild/kconfig-language.txt
index 536d5bf..27b8af9 100644
--- a/Documentation/kbuild/kconfig-language.txt
+++ b/Documentation/kbuild/kconfig-language.txt
@@ -77,6 +77,14 @@ applicable everywhere (see syntax).
   Optionally, dependencies only for this default value can be added
with
   "if".
 
+- boolean type definition with a default value: "def_bool" <expr>
+  So these two examples are equivalent:
+  
+    def_bool <expr>
+  and
+    bool
+    default <expr>
+  
 - dependencies: "depends on"/"requires" <expr>
   This defines a dependency for this menu entry. If multiple
   dependencies are defined, they are connected with '&&'. Dependencies
-- 
1.5.2.4



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

Messages in current thread:
[PATCH] - Add "def_bool" Kconfig format documentation, Vincent Legoll, (Mon Aug 6, 3:29 pm)