Add kernel_nconfig make target
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 6 Aug 2010 21:36:35 +0000 (21:36 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Fri, 6 Aug 2010 21:36:35 +0000 (21:36 +0000)
SVN-Revision: 22518

include/kernel-build.mk
include/toplevel.mk
target/linux/Makefile

index 648e65848a41cc8e78ad61949a682a34a3594d66..282dc9614ff422d8de7e82fe1b3366e20623b5fb 100644 (file)
@@ -113,7 +113,7 @@ define BuildKernel
   compile: $(LINUX_DIR)/.modules
        $(MAKE) -C image compile TARGET_BUILD=
 
-  oldconfig menuconfig: $(STAMP_PREPARED) $(STAMP_CHECKED) FORCE
+  oldconfig menuconfig nconfig: $(STAMP_PREPARED) $(STAMP_CHECKED) FORCE
        [ -e "$(LINUX_CONFIG)" ] || touch "$(LINUX_CONFIG)"
        $(LINUX_CONFCMD) > $(LINUX_DIR)/.config
        touch $(LINUX_CONFIG)
index fa0bc25878bb48c09d6f6bd48301287e577b379e..4510df28161bf969801cd75ceef971cc4d4bccc8 100644 (file)
@@ -103,6 +103,9 @@ kernel_oldconfig: prepare_kernel_conf
 kernel_menuconfig: prepare_kernel_conf
        $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux menuconfig
 
+kernel_nconfig: prepare_kernel_conf
+       $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux nconfig
+
 tmp/.prereq-build: include/prereq-build.mk
        mkdir -p tmp
        rm -f tmp/.host.mk
index 769452274b9a7dc69e4ef1d9a80aac2dddd4bd0e..f7bbdffbf831654ca8617277e5fd7aeb8959f416 100644 (file)
@@ -9,5 +9,5 @@ include $(INCLUDE_DIR)/target.mk
 
 export TARGET_BUILD=1
 
-prereq clean download prepare compile install menuconfig oldconfig update refresh: FORCE
+prereq clean download prepare compile install menuconfig nconfig oldconfig update refresh: FORCE
        @+$(NO_TRACE_MAKE) -C $(BOARD) $@