Re: Kconfig: fix problem in HID menu

From: Krzysztof Helt
Date: Mon May 18 2009 - 04:43:38 EST


On Mon, 18 May 2009 10:21:25 +0200
Jiri Slaby <jirislaby@xxxxxxxxx> wrote:

> On 05/17/2009 05:56 PM, Krzysztof Helt wrote:
> > Following syntax does not work properly if there is an options FOO2 depending on the FOO:
> >
> > config FOO
> > tristate "Foo" if EMBEDDED
> > depends on FUD
> > default !EMBEDDED
> >
> > config FOO2
> > bool "Foo2"
> > depends on FOO
> >
> > If the EMBEDDED is not selected the FOO option is selected
> > and it cannot be unselected.
>
> Uhuh, but that's correct behaviour. We don't want to bother user with
> tons of drivers unless he is compiling for embedded. Or am I missing
> something?
>

I see now. I was little surprised by this. Please ignore my patch.

Regards,
Krzysztof
--
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/