[PATCH 3/4] build: image: remove strange useless comment
Adrian Schmutzler
freifunk at adrianschmutzler.de
Thu Aug 6 10:12:39 EDT 2020
This "comment" seems to be a leftover from some development work.
Remove it.
Fixes: 77265e00c70a ("build: add support code for appending metadata to images")
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
include/image-commands.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/image-commands.mk b/include/image-commands.mk
index 8ed705a7f4..089ed93c67 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -381,7 +381,7 @@ endef
compat_version=$(if $(DEVICE_COMPAT_VERSION),$(DEVICE_COMPAT_VERSION),1.0)
json_quote=$(subst ','\'',$(subst ",\",$(1)))
-#")')
+
metadata_devices=$(if $(1),$(subst "$(space)","$(comma)",$(strip $(foreach v,$(1),"$(call json_quote,$(v))"))))
metadata_json = \
'{ $(if $(IMAGE_METADATA),$(IMAGE_METADATA)$(comma)) \
--
2.20.1
More information about the openwrt-devel
mailing list