From: Jiri Slaby <jirislaby@gmail.com>
To: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: linux-kbuild@vger.kernel.org, LKLM <linux-kernel@vger.kernel.org>,
Jiri Kosina <jkosina@suse.cz>
Subject: Re: Kconfig: fix problem in HID menu
Date: Mon, 18 May 2009 10:21:25 +0200 [thread overview]
Message-ID: <4A111A85.6030508@gmail.com> (raw)
In-Reply-To: <20090517175617.81323cc1.krzysztof.h1@wp.pl>
On 05/17/2009 05:56 PM, Krzysztof Helt wrote:
> Following syntax does not work properly if there is an options FOO2 depending on the FOO:
>
> config FOO
> tristate "Foo" if EMBEDDED
> depends on FUD
> default !EMBEDDED
>
> config FOO2
> bool "Foo2"
> depends on FOO
>
> If the EMBEDDED is not selected the FOO option is selected
> and it cannot be unselected.
Uhuh, but that's correct behaviour. We don't want to bother user with
tons of drivers unless he is compiling for embedded. Or am I missing
something?
> The change of the FOO definition:
>
> config FOO
> tristate "Foo"
> depends on EMBEDDED && FUD
> default !EMBEDDED
>
> fixes the issue.
This does something different. You offer regular user to turn it off and
defaults to n for embedded. This is not what we want, I suppose.
> This is likely a bug in Kconfig tool.
In that case, you want to fix the tool, not the configs.
next prev parent reply other threads:[~2009-05-18 8:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-17 15:56 Kconfig: fix problem in HID menu Krzysztof Helt
2009-05-18 8:21 ` Jiri Slaby [this message]
2009-05-18 8:49 ` Krzysztof Helt
2009-05-18 8:56 ` Jiri Slaby
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=4A111A85.6030508@gmail.com \
--to=jirislaby@gmail.com \
--cc=jkosina@suse.cz \
--cc=krzysztof.h1@wp.pl \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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