image.mk: force rebuild of kernel dependent parts - fixes auto-rebuild on DTS changes
authorFelix Fietkau <nbd@openwrt.org>
Sat, 18 Apr 2015 19:32:20 +0000 (19:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 18 Apr 2015 19:32:20 +0000 (19:32 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45495

include/image.mk

index 165bf72f786db6be18bc92136282771d3048ce24..ebeec5ebb569955065aee662e87e2d1d39de95c8 100644 (file)
@@ -381,6 +381,7 @@ endef
 
 define Device/Build/kernel
   $(KDIR)/$$(KERNEL_NAME): image_prepare
+       touch $$@
   $$(_TARGET): $$(if $$(KERNEL_INSTALL),$(BIN_DIR)/$$(KERNEL_IMAGE))
   $(BIN_DIR)/$$(KERNEL_IMAGE): $(KDIR)/$$(KERNEL_IMAGE)
        cp $$^ $$@