diff options
| author | Paul Spooren | 2019-02-26 19:50:49 +0000 |
|---|---|---|
| committer | Daniel Golle | 2019-03-06 00:11:54 +0000 |
| commit | 26c16aec670d9206bef1065d0de4c423a6cbdcbe (patch) | |
| tree | 88912848c6bc7062131606a0f9191ce233a169b2 | |
| parent | 9e32e288f0de3fa8c7ae1d193aec608648430759 (diff) | |
| download | openwrt-26c16aec670d9206bef1065d0de4c423a6cbdcbe.tar.gz | |
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)))" \ } \ }' |