Re: [PATCH 0/3] intro

From: Konrad Eisele
Date: Tue Nov 22 2011 - 09:23:41 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/