X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3e8bff3590764c1f6f691db7c7fbb020e6113944..c66be709968b5485402ae887bde59404695ca3c2:/include/kernel-build.mk 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