From: Felix Fietkau Date: Mon, 4 Dec 2017 19:24:24 +0000 (+0100) Subject: build: avoid failing in append-metadata if image could not be generated X-Git-Tag: v19.07.0-rc1~5203 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e23ff063d3d1ee6820daf170a2c4c0e1810e4591;p=openwrt%2Fstaging%2Fhauke.git build: avoid failing in append-metadata if image could not be generated The image build might have failed due to a size check Signed-off-by: Felix Fietkau --- diff --git a/include/image-commands.mk b/include/image-commands.mk index 1ec5252972..8db046bdea 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -281,7 +281,7 @@ metadata_json = \ }' define Build/append-metadata - $(if $(SUPPORTED_DEVICES),echo $(call metadata_json,$(SUPPORTED_DEVICES)) | fwtool -I - $@) + $(if $(SUPPORTED_DEVICES),-echo $(call metadata_json,$(SUPPORTED_DEVICES)) | fwtool -I - $@) endef define Build/kernel2minor