From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Michal Marek <mmarek@suse.cz>
Cc: Arnaud Lacombe <lacombar@gmail.com>,
linux-kbuild@vger.kernel.org, linux-media@vger.kernel.org
Subject: Re: [PATCH 1/5] kconfig: add an option to determine a menu's visibility
Date: Fri, 26 Nov 2010 15:19:14 -0200 [thread overview]
Message-ID: <4CEFEC12.9060100@redhat.com> (raw)
In-Reply-To: <20101126161511.GD9418@sepie.suse.cz>
Em 26-11-2010 14:15, Michal Marek escreveu:
> On Fri, Nov 26, 2010 at 11:31:16AM +0100, Michal Marek wrote:
>> On 25.11.2010 18:06, Arnaud Lacombe wrote:
>>> Hi folks,
>>>
>>> On Sat, Nov 6, 2010 at 5:30 PM, Arnaud Lacombe <lacombar@gmail.com> wrote:
>>>> This option is aimed to add the possibility to control a menu's visibility
>>>> without adding dependency to the expression to all the submenu.
>>>>
>>>> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
>>>> ---
>>>> scripts/kconfig/expr.h | 1 +
>>>> scripts/kconfig/lkc.h | 1 +
>>>> scripts/kconfig/menu.c | 11 +++++++++++
>>>> scripts/kconfig/zconf.gperf | 1 +
>>>> scripts/kconfig/zconf.y | 21 ++++++++++++++++++---
>>>> 5 files changed, 32 insertions(+), 3 deletions(-)
>>>>
>>> As there seem to be no interested from Michal to either, ACK, NACK, or
>>> even comment this series, please let me withdraw these patches. If
>>> this mail is not enough to void the patch, I hope to still be able to
>>> withdraw my Signed-off-by from this particular series, and thus no
>>> longer be able to certify the origin of the patches to prevent their
>>> merge.
>>
>> Hi Arnaud,
>>
>> I'm sorry, I was sick for longer time and am now going through the
>> patches that accumulated during that time. I understand your
>> frustration, but the fact that I commented / applied some other patches
>> yesterday and not this one does not mean that I'm ignoring it. Please
>> accept my apologies, I'm looking at your patch right now...
>
> So the patches look OK to me, I added your patches to
> kbuild-2.6.git#menu-visibility and merged the branch to for-next. The
> new syntax should be documented in
> Documentation/kbuild/kconfig-language.txt, below is a first attempt at
> it. If the patches work fine in linux-next _and_ you give me permission
> to push them to Linus, I'll move them to rc-fixes and send a pull
> request.
>
> Michal
>
>
> Subject: [PATCH] kconfig: Document the new "visible if" syntax
>
> Signed-off-by: Michal Marek <mmarek@suse.cz>
Seems ok to me. I would just add a note, as reminded by Randy, that
visible is the default. Anyway,
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
>
> diff --git a/Documentation/kbuild/kconfig-language.txt b/Documentation/kbuild/kconfig-language.txt
> index 2fe93ca..2522cca 100644
> --- a/Documentation/kbuild/kconfig-language.txt
> +++ b/Documentation/kbuild/kconfig-language.txt
> @@ -114,6 +114,13 @@ applicable everywhere (see syntax).
> the illegal configurations all over.
> kconfig should one day warn about such things.
>
> +- limiting menu display: "visible if" <expr>
> + This attribute is only applicable to menu blocks, if the condition is
> + false, the menu block is not displayed to the user (the symbols
> + contained there can still be selected by other symbols, though). It is
> + similar to a conditional "prompt" attribude for individual menu
> + entries.
> +
> - numerical ranges: "range" <symbol> <symbol> ["if" <expr>]
> This allows to limit the range of possible input values for int
> and hex symbols. The user can only input a value which is larger than
> @@ -300,7 +307,8 @@ menu:
> "endmenu"
>
> This defines a menu block, see "Menu structure" above for more
> -information. The only possible options are dependencies.
> +information. The only possible options are dependencies and "visible"
> +attributes.
>
> if:
>
next prev parent reply other threads:[~2010-11-26 17:19 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-09 22:40 [GIT] kconfig rc fixes Michal Marek
2010-11-03 22:29 ` REGRESSION: " Mauro Carvalho Chehab
2010-11-03 22:47 ` Michal Marek
2010-11-03 23:02 ` Mauro Carvalho Chehab
2010-11-04 2:31 ` Arnaud Lacombe
2010-11-04 3:19 ` Mauro Carvalho Chehab
2010-11-04 4:02 ` Arnaud Lacombe
2010-11-04 4:15 ` Arnaud Lacombe
2010-11-04 11:10 ` Mauro Carvalho Chehab
2010-11-04 17:19 ` Randy Dunlap
2010-11-04 18:11 ` Mauro Carvalho Chehab
2010-11-04 18:32 ` Arnaud Lacombe
2010-11-04 18:51 ` Mauro Carvalho Chehab
2010-11-05 12:02 ` Jean Delvare
2010-11-06 21:30 ` [PATCH 0/5] " Arnaud Lacombe
2010-11-06 22:28 ` Mauro Carvalho Chehab
2010-11-09 17:32 ` Mauro Carvalho Chehab
2010-11-06 21:30 ` [PATCH 1/5] kconfig: add an option to determine a menu's visibility Arnaud Lacombe
2010-11-15 16:57 ` Arnaud Lacombe
2010-11-16 17:44 ` Mauro Carvalho Chehab
2010-11-16 21:41 ` Arnaud Lacombe
2010-11-16 21:52 ` Sam Ravnborg
2010-11-25 17:06 ` Arnaud Lacombe
2010-11-25 19:09 ` Sam Ravnborg
2010-11-26 10:31 ` Michal Marek
2010-11-26 16:15 ` Michal Marek
2010-11-26 16:17 ` Randy Dunlap
2010-11-26 16:41 ` Arnaud Lacombe
2011-04-28 17:38 ` Randy Dunlap
2011-05-02 15:33 ` Michal Marek
2010-11-26 16:41 ` Arnaud Lacombe
2010-11-26 16:54 ` Arnaud Lacombe
2010-11-26 17:19 ` Mauro Carvalho Chehab [this message]
2010-11-06 21:30 ` [PATCH 2/5] kconfig: regen parser Arnaud Lacombe
2010-11-06 21:30 ` [PATCH 3/5] Revert "i2c: Fix Kconfig dependencies" Arnaud Lacombe
2010-11-06 21:30 ` [PATCH 4/5] media/video: convert Kconfig to use the menu's `visible' keyword Arnaud Lacombe
2010-11-06 21:30 ` [PATCH 5/5] i2c/algos: " Arnaud Lacombe
2010-11-04 18:34 ` REGRESSION: Re: [GIT] kconfig rc fixes Arnaud Lacombe
2010-11-04 18:43 ` Mauro Carvalho Chehab
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=4CEFEC12.9060100@redhat.com \
--to=mchehab@redhat.com \
--cc=lacombar@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mmarek@suse.cz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.