X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/900c05f6e102b84281efcd2fc5297b72d9253ba7..1468e6557266fd77a3522baeae7088709327071b:/include/kernel-build.mk diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 82b0bcff2..b6d2cf5ef 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -7,10 +7,6 @@ include $(INCLUDE_DIR)/host.mk include $(INCLUDE_DIR)/prereq.mk -ifneq ($(DUMP),1) - override MAKEFLAGS= -endif - ifneq ($(DUMP),1) all: compile endif @@ -48,6 +44,7 @@ define Download/kernel endef define BuildKernel + $(if $(QUILT),$(Build/Quilt)) $(if $(LINUX_SITE),$(call Download,kernel)) $(STAMP_PREPARED): $(DL_DIR)/$(LINUX_SOURCE) @@ -80,7 +77,9 @@ define BuildKernel $(MAKE) -C image compile TARGET_BUILD= oldconfig menuconfig: $(STAMP_PREPARED) FORCE + [ -e "$(LINUX_CONFIG)" ] || touch "$(LINUX_CONFIG)" $(LINUX_CONFCMD) > $(LINUX_DIR)/.config + touch $(LINUX_CONFIG) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@ $(SCRIPT_DIR)/kconfig.pl '>' $(GENERIC_LINUX_CONFIG) $(LINUX_DIR)/.config > $(LINUX_CONFIG) $(Kernel/Configure) @@ -99,7 +98,7 @@ define BuildKernel @$(MAKE) compile image-prereq: - $(SUBMAKE) -s -C image prereq TARGET_BUILD= + @$(NO_TRACE_MAKE) -s -C image prereq TARGET_BUILD= prereq: image-prereq