aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-08-06 21:36:35 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-08-06 21:36:35 +0000
commita97d6b0c9514743b0285b4a65d60b1da1563da1c (patch)
treefb9f7d6f4790057aadfa041d6cb50b85946a7ee6
parentfa802af399db4f4827559fc07fc00b39083c8f17 (diff)
downloadupstream-a97d6b0c9514743b0285b4a65d60b1da1563da1c.tar.gz
upstream-a97d6b0c9514743b0285b4a65d60b1da1563da1c.tar.bz2
upstream-a97d6b0c9514743b0285b4a65d60b1da1563da1c.zip
Add kernel_nconfig make target
SVN-Revision: 22518
-rw-r--r--include/kernel-build.mk2
-rw-r--r--include/toplevel.mk3
-rw-r--r--target/linux/Makefile2
3 files changed, 5 insertions, 2 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 648e65848a..282dc9614f 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -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)
diff --git a/include/toplevel.mk b/include/toplevel.mk
index fa0bc25878..4510df2816 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -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
diff --git a/target/linux/Makefile b/target/linux/Makefile
index 769452274b..f7bbdffbf8 100644
--- a/target/linux/Makefile
+++ b/target/linux/Makefile
@@ -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) $@