summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk13
1 files changed, 12 insertions, 1 deletions
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)