Re: 2.6 bug: kconfig implementation doesn't match the spec

From: Roman Zippel
Date: Fri Aug 08 2003 - 10:22:03 EST


Hi,

On Fri, 8 Aug 2003, Adrian Bunk wrote:

> An example:
>
> config FOO
> tristate
> default m
>
> config BAR
> tristate
> default y if !FOO
> default n
>
>
> According to the kconfig spec BAR should be y, but the implementation in
> 2.6.0-mm5 sets BAR to n.

You probably forgot to set MODULES, tristate behaves like bool in this
case and FOO becomes 'y' and '!FOO' is 'n'.

bye, Roman

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/