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

Sam Ravnborg
2007-09-16T18:08:18Z

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