lkml.org 
[lkml]   [2012]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kconfig: tristate choice with depender choice
(added Arnaud to CC)

On 7.2.2012 01:16, Atsushi Nemoto 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?
>
> ---
> Atsushi Nemoto



\
 
 \ /
  Last update: 2012-02-07 11:37    [W:0.055 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site