From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
To: Michal Marek <mmarek@suse.cz>, Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: kconfig: tristate choice with depender choice
Date: Tue, 07 Feb 2012 09:16:12 +0900 (JST) [thread overview]
Message-ID: <20120207.091612.181444339.anemo@mba.ocn.ne.jp> (raw)
If a tristate choice has another choice dependers, kconfig produce
wrong value.
Example:
choice
prompt "choice list AB"
config A
tristate "a"
config B
tristate "b"
endchoice
choice
prompt "choice list CD"
depends on A
config C
bool "c"
config D
bool "d"
endchoice
kconfig outputs CONFIG_A=m from defconfig with CONFIG_A=y.
This happens if the choice list CD depends on A.
Also, if defconfig contains CONFIG_A=y and "# CONFIG_B is not set",
output is correct.
I found commit a64b44ea ("kconfig: fix tristate choice with minimal
config"), but this problem still exists on v3.3-rc1. More fix is
needed for choice with dependers?
---
Atsushi Nemoto
next reply other threads:[~2012-02-07 0:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-07 0:16 Atsushi Nemoto [this message]
2012-02-07 10:35 ` kconfig: tristate choice with depender choice Michal Marek
2012-02-09 5:08 ` Arnaud Lacombe
2012-02-09 5:26 ` Arnaud Lacombe
2012-02-09 14:30 ` Atsushi Nemoto
2012-02-17 15:14 ` Atsushi Nemoto
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=20120207.091612.181444339.anemo@mba.ocn.ne.jp \
--to=anemo@mba.ocn.ne.jp \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=sam@ravnborg.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;
as well as URLs for NNTP newsgroup(s).