build: ignore errors on copying firmware binaries from $(KDIR) to $(BIN_DIR)
authorFelix Fietkau <nbd@openwrt.org>
Thu, 26 Mar 2015 18:50:13 +0000 (18:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 26 Mar 2015 18:50:13 +0000 (18:50 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45029

include/image.mk

index b78576e03af0345b2e6b4c678c32422b2b98a902..0d388ec6667dc11288e51ba27375a8e88748e980 100644 (file)
@@ -398,6 +398,7 @@ define Device/Build/image
        [ -f $$(word 1,$$^) -a -f $$(word 2,$$^) ]
        $$(call concat_cmd,$(if $(IMAGE/$(2)/$(1)),$(IMAGE/$(2)/$(1)),$(IMAGE/$(2))))
 
+  .IGNORE: $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2))
   $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)): $(KDIR)/$(call IMAGE_NAME,$(1),$(2))
        cp $$^ $$@