From e23ff063d3d1ee6820daf170a2c4c0e1810e4591 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 4 Dec 2017 20:24:24 +0100 Subject: [PATCH] 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 --- include/image-commands.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2