Re: [PATCH v2] menuconfig: distinguish between selected-by-another options and comments

From: Sam Ravnborg
Date: Sun Sep 16 2007 - 14:11:37 EST


On Sun, Sep 16, 2007 at 07:10:06PM +0200, Roman Zippel wrote:
> Hi,
>
> On Sun, 16 Sep 2007, Sam Ravnborg wrote:
>
> > But can you take a look at distingushing between non-selectable options
> > due to dependency issues and seleted-by symbols.
>
> Do you have an example in mind? If a symbol is not changable, but still
> visible, a select is usually involved.

On i86_64 (but I think the arch does not matter).
make defconfig
make menuconfig

At top-level menu I see:
--- Enable the block layer --->

In block/Kconfig we have:
menuconfig BLOCK
bool "Enable the block layer" if EMBEDDED
default y

If EMBEDDED == n then we see the above.
And this was my first experience with this patch - and it
took me some thoughts to realise it was the "if EMBEDDED" part
that made it look like -*-

So maybe not something we see in many places but it is
there in the top-level menu.

Sam
-
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/