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 <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2017-12-04 20:24:24 +01:00
parent aec1b6bfcb
commit e23ff063d3
1 changed files with 1 additions and 1 deletions

View File

@ -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