Browse Source

metadata: add "target" entry

add "target" entry based on $(TARGETID) resulting in
`<target>/<subtarget>`.

Signed-off-by: Paul Spooren <[email protected]>
Paul Spooren 6 years ago
parent
commit
208f287908
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/image-commands.mk

+ 1 - 0
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)))" \
 		} \
 	}'