[OpenWrt-Devel] [PATCH 3/3] ImageBuilder: Show alternative device names
Paul Spooren
mail at aparcar.org
Wed Apr 1 02:17:49 EDT 2020
With the introduction of `Target-Profile-AltNames` the ImageBuilder
should show these names to allow users to find their devices without
knowing the name used in the OpenWrt build system.
Signed-off-by: Paul Spooren <mail at aparcar.org>
---
target/imagebuilder/files/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index 15b3d5c35c..d92cd253c8 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -75,6 +75,7 @@ include $(INCLUDE_DIR)/target.mk
USER_PROFILE ?= $(firstword $(PROFILE_NAMES))
PROFILE_LIST = $(foreach p,$(PROFILE_NAMES), \
echo '$(patsubst DEVICE_%,%,$(p)):'; $(if $($(p)_NAME),echo ' $(subst ','"'"',$($(p)_NAME))'; ) \
+ $(if $($(p)_ALT_NAMES),echo ' AlternativeNames: $(subst ','"'"',$($(p)_ALT_NAMES))'; ) \
echo ' Packages: $($(p)_PACKAGES)'; echo ' hasImageMetadata: $($(p)_HAS_IMAGE_METADATA)'; \
$(if $($(p)_SUPPORTED_DEVICES),echo ' SupportedDevices: $($(p)_SUPPORTED_DEVICES)';) )
--
2.25.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list