From 26c16aec670d9206bef1065d0de4c423a6cbdcbe Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Tue, 26 Feb 2019 20:50:49 +0100 Subject: [PATCH] metadata: fixup "board" currently the "board" parameter contains $(BOARD) which actually results to `` (like ramips, ar71xx) without subtarget. However, one actually excepts (not?) to contain BOARD_NAME or DEVICE_NAME. Signed-off-by: Paul Spooren --- 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 ade370cc0d..c6b4b23ce3 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -360,7 +360,7 @@ metadata_json = \ "dist": "$(call json_quote,$(VERSION_DIST))", \ "version": "$(call json_quote,$(VERSION_NUMBER))", \ "revision": "$(call json_quote,$(REVISION))", \ - "board": "$(call json_quote,$(BOARD))" \ + "board": "$(call json_quote,$(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)))" \ } \ }' -- 2.30.2