Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754000AbXIPTiW (ORCPT ); Sun, 16 Sep 2007 15:38:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751952AbXIPTiP (ORCPT ); Sun, 16 Sep 2007 15:38:15 -0400 Received: from scrub.xs4all.nl ([194.109.195.176]:2676 "EHLO scrub.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196AbXIPTiO (ORCPT ); Sun, 16 Sep 2007 15:38:14 -0400 Date: Sun, 16 Sep 2007 21:38:38 +0200 (CEST) From: Roman Zippel X-X-Sender: roman@scrub.home To: Sam Ravnborg cc: Matej Laitl , Randy Dunlap , LKML Subject: Re: [PATCH v2] menuconfig: distinguish between selected-by-another options and comments In-Reply-To: <20070916180930.GA9455@uranus.ravnborg.org> Message-ID: References: <200709152004.11930.strohel@gmail.com> <20070916111708.GA7362@uranus.ravnborg.org> <20070916180930.GA9455@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1231 Lines: 38 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/