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

Roman Zippel
2007-09-16T19:38:22Z

Hi,

On Sun, 16 Sep 2007, Sam Ravnborg wrote:

> > 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 -*-

Indeed, I forgot about this case. Here it's actually the menu entry of a
symbol that is forced to be visible, because a child entry is visible.

bye, Roman