[lkml]   [2008]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kconfig - a suggestion how to fix the select issue
On Sun, May 04, 2008 at 09:10:41AM +0200, Sam Ravnborg wrote:
> config A
> bool "a"
> config B
> bool "b"
> depends on A
> config C
> bool "c"
> require B
> The require dependency will have impact on visibility.
> C shall only be visible if all symbols it require are
> visible. Note that visible does not imply 'chosen'.
> In this case C would be visible when A is chosen.
> When the user then choose C and B is not chosen
> then the user is prompted to choose B.
> So user has to chose B in order to have C chosen.
> Comments?


config A
tristate "a"

config B
tristate "b"
depends on A

config C
bool "c"
require B


Will C be visible?

The underlying problem is that we use bool for two different cases:
- non-modular driver (answer would be "no")
- enable feature in driver (answer would be "depends on the value of D")

> Sam



"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

 \ /
  Last update: 2008-05-04 10:15    [W:0.071 / U:3.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site