diff options
author | Paul Spooren <mail@aparcar.org> | 2019-02-26 20:50:49 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-06 01:11:54 +0100 |
commit | 26c16aec670d9206bef1065d0de4c423a6cbdcbe (patch) | |
tree | 88912848c6bc7062131606a0f9191ce233a169b2 | |
parent | 9e32e288f0de3fa8c7ae1d193aec608648430759 (diff) | |
download | upstream-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>
-rw-r--r-- | include/image-commands.mk | 2 |
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)))" \ } \ }' |