From: nbd Date: Sat, 23 Aug 2008 23:45:28 +0000 (+0000) Subject: fix make kernel_menuconfig for subtarget kernel config files X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/c66be709968b5485402ae887bde59404695ca3c2?ds=sidebyside fix make kernel_menuconfig for subtarget kernel config files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12376 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 4c6a32a42..089753e3a 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