Re: kconfig: tristate choice with depender choice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Mon, Feb 6, 2012 at 7:16 PM, Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:
> 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?
it would seem so.

 - Arnaud
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux