浏览代码

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 <[email protected]>
Felix Fietkau 7 年之前
父节点
当前提交
e23ff063d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/image-commands.mk

+ 1 - 1
include/image-commands.mk

@@ -281,7 +281,7 @@ metadata_json = \
 	}'
 	}'
 
 
 define Build/append-metadata
 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
 endef
 
 
 define Build/kernel2minor
 define Build/kernel2minor