From 6743d86ad219efaa281bf5e87b51cb744b9373ef Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Jul 2010 21:30:02 +0200 Subject: add gtk guiconfig from linux kernel configsystem --- mk/build.mk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'mk/build.mk') diff --git a/mk/build.mk b/mk/build.mk index 793145be0..f33fd5ad2 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -58,6 +58,7 @@ DEFCONFIG= ADK_DEVELSYSTEM=n \ ADK_KERNEL_DEBUG_WITH_KGDB=n noconfig_targets:= menuconfig \ + guiconfig \ _config \ _mconfig \ distclean \ @@ -261,7 +262,7 @@ all: menuconfig # --------------------------------------------------------------------------- # force entering the subdir, as dependency checking is done there -.PHONY: $(CONFIG)/conf $(CONFIG)/mconf +.PHONY: $(CONFIG)/conf $(CONFIG)/mconf $(CONFIG)/gconf $(CONFIG)/conf: @$(MAKE) -C $(CONFIG) conf @@ -269,6 +270,9 @@ $(CONFIG)/conf: $(CONFIG)/mconf: @$(MAKE) -C $(CONFIG) +$(CONFIG)/gconf: + @$(MAKE) -C $(CONFIG) gconf + defconfig: .menu $(CONFIG)/conf ifeq (${OStype},Linux) @echo ADK_HOST_LINUX=y > $(TOPDIR)/.defconfig @@ -415,6 +419,13 @@ menuconfig: $(CONFIG)/mconf defconfig .menu @$(CONFIG)/mconf $(CONFIG_CONFIG_IN) ${POSTCONFIG} +guiconfig: $(CONFIG)/gconf defconfig .menu + @if [ ! -f .config ];then \ + $(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN); \ + fi + @$(CONFIG)/gconf $(CONFIG_CONFIG_IN) + ${POSTCONFIG} + _config: $(CONFIG)/conf .menu -@touch .config @$(CONFIG)/conf ${W} $(CONFIG_CONFIG_IN) -- cgit v1.2.3