projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c16ae
)
metadata: add "target" entry
author
Paul Spooren
<mail@aparcar.org>
Tue, 26 Feb 2019 19:41:52 +0000
(20:41 +0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Wed, 6 Mar 2019 00:11:54 +0000
(
01:11
+0100)
add "target" entry based on $(TARGETID) resulting in
`<target>/<subtarget>`.
Signed-off-by: Paul Spooren <mail@aparcar.org>
include/image-commands.mk
patch
|
blob
|
history
diff --git
a/include/image-commands.mk
b/include/image-commands.mk
index c6b4b23ce3cf5e7e5ea91a6ae49940e4833889b5..c0bda2084c852098730782fce8148acf511f5c6f 100644
(file)
--- 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)))" \
} \
}'