summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-06 21:36:35 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-06 21:36:35 +0000
commit04e9a33b0fb125da5fc97b1c4e16bad733668ece (patch)
tree09cd6b389f0a9e42d7f09eab3653addf108c0631 /include
parent13321eba5370747d4d2afa7c3ac83e95fcb2c297 (diff)
Add kernel_nconfig make target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22518 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel-build.mk2
-rw-r--r--include/toplevel.mk3
2 files changed, 4 insertions, 1 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