- Add "def_bool" Kconfig format documentation
Subsystems (3)
PATCH 1/1 - Add "def_bool" Kconfig format documentation
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...
Quoted 1 line
From
4742eb7a3169001304524e82a88ec1c94f70aa56Mon Sep 17 00:00:00 2001
From: Vincent Legoll <[email protected]>
Date: Sat, 4 Aug 2007 16:50:06 +0200
Subject: [PATCH] - Add "def_bool" Kconfig format documentation
--- Documentation/kbuild/kconfig-language.txt | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
Documentation/kbuild/kconfig-language.txt +0 -0
@@ -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
Signature · 1 line
1.5.2.4
Quoted 4 lines · On Tue, 07 Aug 2007 00:29:40 +0200 Vincent Legoll wrote:
Hello,
here is a small documentation patch for the KConfig file format "
def_bool" type definition that was missing.
There are also def_boolean and def_tristate.
I suppose that I should resubmit this patch:
http://marc.info/?l=linux-kernel&m=115471883121076&w=2
Quoted 24 lines
I hope the patch is not mangled...
Quoted 1 line
From
4742eb7a3169001304524e82a88ec1c94f70aa56Mon Sep 17 00:00:00 2001From: Vincent Legoll <[email protected]>
Date: Sat, 4 Aug 2007 16:50:06 +0200
Subject: [PATCH] - Add "def_bool"Kconfigformat documentationSigned-off-by Vincent Legoll <[email protected]>--- Documentation/kbuild/kconfig-language.txt | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)Documentation/kbuild/kconfig-language.txt +0
-0@@ -77,6 +77,14 @@ applicable everywhere (see syntax). Optionally, dependencies only for this default value can be addedwith
"if".+- boolean type definition with a default value: "
def_bool" <expr>
Documentation/kbuild/kconfig-language.txt
Quoted 10 lines
Documentation/kbuild/kconfig-language.txt +7
-0+ 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
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 8 lines · Randy Dunlap
Quoted 4 lines · On Tue, 07 Aug 2007 00:29:40 +0200 Vincent Legoll wrote:
Hello,
here is a small documentation patch for the KConfig file format "
def_bool" type definition that was missing.There are also
def_booleananddef_tristate.
while the parser recognizes "def_boolean", it's not used anywhere in the tree. perhaps it can simply be dropped in favour of def_bool.
rday
Signature · 7 lines
======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ========================================================================
Quoted 3 lines · Randy Dunlap
There are also
def_booleananddef_tristate.
I suppose that I should resubmit this patch:
http://marc.info/?l=linux-kernel&m=115471883121076&w=2
This one is OK for me, you can add:
Signature · 1 line
Vincent Legoll