diff options
| author | Paul Spooren | 2019-02-26 19:41:52 +0000 |
|---|---|---|
| committer | Daniel Golle | 2019-03-06 00:11:54 +0000 |
| commit | 208f287908e4143170417ce6cda9ca6c287ccc90 (patch) | |
| tree | afdf046bb2a4f113c74999d81212e027ca43f902 | |
| parent | 26c16aec670d9206bef1065d0de4c423a6cbdcbe (diff) | |
| download | openwrt-208f287908e4143170417ce6cda9ca6c287ccc90.tar.gz | |
metadata: add "target" entry
add "target" entry based on $(TARGETID) resulting in
`<target>/<subtarget>`.
Signed-off-by: Paul Spooren <mail@aparcar.org>
| -rw-r--r-- | include/image-commands.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk index c6b4b23ce3..c0bda2084c 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -360,6 +360,7 @@ metadata_json = \ "dist": "$(call json_quote,$(VERSION_DIST))", \ "version": "$(call json_quote,$(VERSION_NUMBER))", \ "revision": "$(call json_quote,$(REVISION))", \ + "target": "$(call json_quote,$(TARGETID))", \ "board": "$(call json_quote,$(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)))" \ } \ }' |