aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2019-02-26 20:41:52 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-03-06 01:11:54 +0100
commit208f287908e4143170417ce6cda9ca6c287ccc90 (patch)
treeafdf046bb2a4f113c74999d81212e027ca43f902
parent26c16aec670d9206bef1065d0de4c423a6cbdcbe (diff)
downloadupstream-208f287908e4143170417ce6cda9ca6c287ccc90.tar.gz
upstream-208f287908e4143170417ce6cda9ca6c287ccc90.tar.bz2
upstream-208f287908e4143170417ce6cda9ca6c287ccc90.zip
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.mk1
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)))" \
} \
}'