X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3e8bff3590764c1f6f691db7c7fbb020e6113944..847fd175443ae15c4db01e7ba322dee51c3f4bff:/include/kernel-build.mk?ds=inline diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 4c6a32a42..d48f8b9f5 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -11,6 +11,7 @@ ifneq ($(DUMP),1) all: compile endif +export QUILT=1 STAMP_PREPARED:=$(LINUX_DIR)/.prepared STAMP_CONFIGURED:=$(LINUX_DIR)/.configured include $(INCLUDE_DIR)/download.mk @@ -76,12 +77,12 @@ define BuildKernel compile: $(LINUX_DIR)/.modules $(MAKE) -C image compile TARGET_BUILD= - oldconfig menuconfig: $(STAMP_PREPARED) FORCE + oldconfig menuconfig: $(STAMP_PREPARED) $(STAMP_CHECKED) FORCE [ -e "$(LINUX_CONFIG)" ] || touch "$(LINUX_CONFIG)" $(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