build: ignore errors on copying firmware binaries from $(KDIR) to $(BIN_DIR)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45029
This commit is contained in:
Felix Fietkau 2015-03-26 18:50:13 +00:00
parent 40d25d3eb5
commit a1b725bba5

View 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 $$^ $$@