From: Randy Dunlap <rdunlap@xenotime.net>
To: vincent.legoll@gmail.com
Cc: zippel@linux-m68k.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] - Add "def_bool" Kconfig format documentation
Date: Sat, 11 Aug 2007 22:09:28 -0700 [thread overview]
Message-ID: <20070811220928.b079d2e5.rdunlap@xenotime.net> (raw)
In-Reply-To: <1186439380.21014.9.camel@quad>
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
> I hope the patch is not mangled...
>
> >From 4742eb7a3169001304524e82a88ec1c94f70aa56 Mon Sep 17 00:00:00 2001
> 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
> --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next prev parent reply other threads:[~2007-08-12 5:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-06 22:29 Vincent Legoll
2007-08-12 5:09 ` Randy Dunlap [this message]
2007-08-12 6:39 ` Robert P. J. Day
2007-08-13 11:12 ` Vincent Legoll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070811220928.b079d2e5.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=linux-kernel@vger.kernel.org \
--cc=vincent.legoll@gmail.com \
--cc=zippel@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®