From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:35082 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447Ab1KTNgK (ORCPT ); Sun, 20 Nov 2011 08:36:10 -0500 Message-ID: <4EC9024A.7070807@suse.cz> Date: Sun, 20 Nov 2011 14:36:10 +0100 From: Michal Marek MIME-Version: 1.0 Subject: Re: [PATCH 1/1] kconfig: Add a configuration subtree command to kconfig References: <1321625774-12749-1-git-send-email-konrad@gaisler.com> <4EC69F65.20207@xenotime.net> <4EC6E179.1030703@gaisler.com> <4EC76049.8020508@gaisler.com> In-Reply-To: <4EC76049.8020508@gaisler.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: "konrad.gaisler" Cc: Arnaud Lacombe , Randy Dunlap , linux-kernel@vger.kernel.org, linux kbuild list , pefoley2@verizon.net, yann.morin.1998@anciens.enib.fr, sam@ravnborg.org, zippel@linux-m68k.org On 19.11.2011 08:52, konrad.gaisler wrote: > On 11/19/2011 07:23 AM, Arnaud Lacombe wrote: >> On Fri, Nov 18, 2011 at 5:51 PM, konrad.gaisler wrote: >>> As an example, apply the patch, then add to/Kconfig the lines: >>> >>> subsource "arch/sparc/Kconfig" "." ".config_sparc" "SPARC config" SPARC_ >>> CONFIG_ >>> subsource "arch/mips/Kconfig" "." ".config_mips" "MIPS config" MIPS_ CONFIG_ >>> >> ETOOMUCHARGUMENT! >> >> I wonder if we could not get all these parameters specified >> dynamically in the Kconfig. This would replace the `mainmenu' entry >> ala: >> >> config >> title "Linux ..." >> prefix "CONFIG_" >> file .config >> endconfig > Yes maybe it can be done that way. Personally I think it is > more difficult. A syntax fits well into the existing Kconfig language and it more readable, as you don't have to count the position of the arguments and check their meaning in the documentation. Michal