From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754239AbXFYALy (ORCPT ); Sun, 24 Jun 2007 20:11:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752447AbXFYALr (ORCPT ); Sun, 24 Jun 2007 20:11:47 -0400 Received: from scrub.xs4all.nl ([194.109.195.176]:1465 "EHLO scrub.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752134AbXFYALq (ORCPT ); Sun, 24 Jun 2007 20:11:46 -0400 Date: Mon, 25 Jun 2007 02:11:46 +0200 (CEST) From: Roman Zippel X-X-Sender: roman@scrub.home To: Jan Engelhardt 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 Hi, On Sat, 23 Jun 2007, Jan Engelhardt wrote: > 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) I really don't understand why this should be needed in first place. Where is the problem with using tristate? Nobody forces anyone to set it to 'm' if you don't like it. I could also argue it easily allows me to quickly restrict enclosed options to module status. It's just another choice, where is that fascination coming from that it has to be an on/off switch? Whether the config option is visible in the Makefile and produces any code, is completely irrelevant in this context, as the user trying to configure the kernel has no idea of it. bye, Roman