mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-06 11:09:31 +00:00
metadata: add "target" entry
add "target" entry based on $(TARGETID) resulting in `<target>/<subtarget>`. Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
parent
26c16aec67
commit
208f287908
@ -360,6 +360,7 @@ metadata_json = \
|
|||||||
"dist": "$(call json_quote,$(VERSION_DIST))", \
|
"dist": "$(call json_quote,$(VERSION_DIST))", \
|
||||||
"version": "$(call json_quote,$(VERSION_NUMBER))", \
|
"version": "$(call json_quote,$(VERSION_NUMBER))", \
|
||||||
"revision": "$(call json_quote,$(REVISION))", \
|
"revision": "$(call json_quote,$(REVISION))", \
|
||||||
|
"target": "$(call json_quote,$(TARGETID))", \
|
||||||
"board": "$(call json_quote,$(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)))" \
|
"board": "$(call json_quote,$(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)))" \
|
||||||
} \
|
} \
|
||||||
}'
|
}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user