Messages in this thread | | | Date | Fri, 12 Sep 2003 13:09:02 +0200 | From | Adrian Bunk <> | Subject | Re: [patch] 2.6.0-test5: serio config broken? |
| |
On Thu, Sep 11, 2003 at 04:04:48PM -0700, Tom Rini wrote: > > Okay. The following Kconfig illustrates what I claim to be a bug. > config A > bool "This is A" > select B > > config B > bool "This is B" > # Or, depends C=y > depends C > > config C > bool "This is C" > > > Running oldconfig will give: > This is A (A) [N/y] (NEW) y > This is C (C) [N/y] (NEW) n > ... > And in .config: > CONFIG_A=y > CONFIG_B=y > # CONFIG_C is not set > > I claim that this should in fact be: > CONFIG_A=y > CONFIG_B=y > CONFIG_C=y
The problem is that select ignores dependencies.
Unfortunately, your proposal wouldn't work easily, consider e.g.
config A bool "This is A" select B
config B bool depends C || D
config C bool "This is C" depends D=n
config D bool "This is D"
Do you want C or D to be selected?
> Tom Rini
cu Adrian
--
"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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |