aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2019-02-26 20:50:49 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-03-06 01:11:54 +0100
commit26c16aec670d9206bef1065d0de4c423a6cbdcbe (patch)
tree88912848c6bc7062131606a0f9191ce233a169b2 /include
parent9e32e288f0de3fa8c7ae1d193aec608648430759 (diff)
downloadupstream-26c16aec670d9206bef1065d0de4c423a6cbdcbe.tar.gz
upstream-26c16aec670d9206bef1065d0de4c423a6cbdcbe.tar.bz2
upstream-26c16aec670d9206bef1065d0de4c423a6cbdcbe.zip
metadata: fixup "board"
currently the "board" parameter contains $(BOARD) which actually results to `<target>` (like ramips, ar71xx) without subtarget. However, one actually excepts (not?) to contain BOARD_NAME or DEVICE_NAME. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'include')
-rw-r--r--include/image-commands.mk2
1 files changed, 1 insertions, 1 deletions
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)))" \
} \
}'