Re: [PATCH 0/3] intro

Konrad Eisele <[email protected]> Tue, 22 Nov 2011 15:16:18 +0100
Newsgroups gmane.linux.kernel,gmane.linux.configuration
Message-ID <[email protected]>
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. <apply patches>
2. $touch scripts/kconfig/zconf.y scripts/kconfig/zconf.l scripts/kconfig/zconf.gperf
3. <apply the below diff to toplevel Kconfig>
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