X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e82a8b450297c194391853cee8bdf5ad6c2e1c48..1383f31440bd82893fa9f01937c44be2bef267e5:/include/kernel-build.mk diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 9335e1a0d..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 @@ -81,6 +77,7 @@ 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) $$@ @@ -101,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