From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753389AbXFWG56 (ORCPT ); Sat, 23 Jun 2007 02:57:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751584AbXFWG5u (ORCPT ); Sat, 23 Jun 2007 02:57:50 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:21492 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413AbXFWG5u (ORCPT ); Sat, 23 Jun 2007 02:57:50 -0400 Date: Sat, 23 Jun 2007 08:57:48 +0200 (CEST) From: Jan Engelhardt To: Roman Zippel cc: Satyam Sharma , Trent Piepho , Mauro Carvalho Chehab , toralf.foerster@gmx.de, Oliver Neukum , LKML , Luca Risolia Subject: Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c In-Reply-To: Message-ID: References: <200706211117.55908.toralf.foerster@gmx.de> 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 On Jun 23 2007 02:26, Roman Zippel wrote: >On Sat, 23 Jun 2007, Satyam Sharma wrote: > >> But why? Let it do just one thing, and do it well. Is their >> any requirement anywhere that requires us to give a dual >> meaning to these menuconfig objects -- i.e. to also control >> the inclusion / exclusion of code from the kernel as well as >> also for the presentation + user interface purpose that it >> currently serves? > >This getting ridiculous. :-( >You're the one who is attaching a new meaning to it. >Any config symbol has multiple meanings depending on the context, the menu >property only changes _one_ of them, you want to drastically redefine it >and that's not going to happen. Would it make sense to define a new entity called "configmenu" (or something else) that is equivalent to menuconfig with the following changes? * it creates a CM_ variable instead of a CONFIG_ one * the CM_ symbols are not available to Makefiles or C files (so in fact, just to menuconfig and that they are listed in .config) Jan --