linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kconfig: tristate choice with depender choice
@ 2012-02-07  0:16 Atsushi Nemoto
  2012-02-07 10:35 ` Michal Marek
  2012-02-09  5:08 ` Arnaud Lacombe
  0 siblings, 2 replies; 6+ messages in thread
From: Atsushi Nemoto @ 2012-02-07  0:16 UTC (permalink / raw)
  To: Michal Marek, Sam Ravnborg; +Cc: linux-kbuild, linux-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-17 15:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-07  0:16 kconfig: tristate choice with depender choice Atsushi Nemoto
2012-02-07 10:35 ` 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

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).