summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-23 23:45:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-23 23:45:28 +0000
commit811b00f646a6cda0c34584339917155b9fd1a40b (patch)
tree84a82f4d0f6d8bdfa069f53d9d59ba3c840f1645 /include
parent6c56733f406baf4b83bbb86c76ee14432659e50f (diff)
downloadmtk-20170518-811b00f646a6cda0c34584339917155b9fd1a40b.zip
mtk-20170518-811b00f646a6cda0c34584339917155b9fd1a40b.tar.gz
mtk-20170518-811b00f646a6cda0c34584339917155b9fd1a40b.tar.bz2
fix make kernel_menuconfig for subtarget kernel config files
SVN-Revision: 12376
Diffstat (limited to 'include')
-rw-r--r--include/kernel-build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 4c6a32a..089753e 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -81,7 +81,7 @@ define BuildKernel
$(LINUX_CONFCMD) > $(LINUX_DIR)/.config
touch $(LINUX_CONFIG)
$(_SINGLE)$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@
- $(SCRIPT_DIR)/kconfig.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG)
+ $(SCRIPT_DIR)/kconfig.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(if $(LINUX_SUBCONFIG),$(LINUX_SUBCONFIG),$(LINUX_CONFIG))
$(Kernel/Configure)
install: $(LINUX_DIR)/.image