From: Paul Spooren Date: Tue, 26 Feb 2019 19:41:52 +0000 (+0100) Subject: metadata: add "target" entry X-Git-Tag: v19.07.0-rc1~1117 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=208f287908e4143170417ce6cda9ca6c287ccc90;p=oweals%2Fopenwrt.git metadata: add "target" entry add "target" entry based on $(TARGETID) resulting in `/`. Signed-off-by: Paul Spooren --- 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)))" \ } \ }'