From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Eisele Subject: Re: [PATCH 0/3] intro Date: Tue, 22 Nov 2011 15:16:18 +0100 Message-ID: <4ECBAEB2.4050003@gaisler.com> References: <1321970626-12615-1-git-send-email-konrad@gaisler.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1321970626-12615-1-git-send-email-konrad@gaisler.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Konrad Eisele Cc: linux-kernel@vger.kernel.org, lacombar@gmail.com, mmarek@suse.cz, yann.morin.1998@anciens.enib.fr, linux-config@vger.kernel.org Konrad Eisele wrote: > [PATCH 1/3] kconfig: Move global elements into struct, create root context > remove globals and create seperate namespaces. The default namespace is > &rootlevel. > > [PATCH 2/3] kconfig: Add support for Kconfig subtrees > This adds subtree support, added Documentation/kbuild/kconfig-language.txt > lines that describe the fix > > [PATCH 3/3] kconfig: gconfig save button should be greyed if no changes present > in gconfig the save button is always active eaven with no changes present. > > The patches are against: 15bd1cfb3055d866614cdaf38e43201936264e50 To test do: 1. 2. $touch scripts/kconfig/zconf.y scripts/kconfig/zconf.l scripts/kconfig/zconf.gperf 3. 4. $make REGENERATE_PARSERS=1 HOSTCFLAGS=-g xconfig Then you'll see a "SPARC subtree" subtree in qconfig. -- Konrad diff --git a/Kconfig b/Kconfig index c13f48d..fa22448 100644 --- a/Kconfig +++ b/Kconfig @@ -9,3 +9,10 @@ config SRCARCH option env="SRCARCH" source "arch/$SRCARCH/Kconfig" + +menu "SPARC subtree" + prefix "CONFIG_" + +source "arch/sparc/Kconfig" + +endmenu d