From: Felix Fietkau Date: Mon, 13 Mar 2017 09:49:58 +0000 (+0100) Subject: image.mk: force kernel rebuild on every run X-Git-Tag: v17.01.1~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=53fcaed1f78a4fa4073c96801e4a365e61866e62;p=oweals%2Fopenwrt.git image.mk: force kernel rebuild on every run DTS dependencies are not processed correctly so makes it safer against poentially stale builds Signed-off-by: Felix Fietkau --- diff --git a/include/image.mk b/include/image.mk index 81519cd183..8f55627390 100644 --- a/include/image.mk +++ b/include/image.mk @@ -420,7 +420,7 @@ define Device/Build/initramfs $(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE) cp $$^ $$@ - $(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/$$(KERNEL_INITRAMFS_NAME) $(CURDIR)/Makefile $$(KERNEL_DEPENDS) + $(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/$$(KERNEL_INITRAMFS_NAME) $(CURDIR)/Makefile $$(KERNEL_DEPENDS) image_prepare @rm -f $$@ $$(call concat_cmd,$$(KERNEL_INITRAMFS)) endef @@ -444,7 +444,7 @@ define Device/Build/kernel ifdef CONFIG_IB install: $$(KDIR_KERNEL_IMAGE) endif - $$(KDIR_KERNEL_IMAGE): $(KDIR)/$$(KERNEL_NAME) $(CURDIR)/Makefile $$(KERNEL_DEPENDS) + $$(KDIR_KERNEL_IMAGE): $(KDIR)/$$(KERNEL_NAME) $(CURDIR)/Makefile $$(KERNEL_DEPENDS) image_prepare @rm -f $$@ $$(call concat_cmd,$$(KERNEL)) $$(if $$(KERNEL_SIZE),$$(call Build/check-size,$$(KERNEL_SIZE)))