[OpenWrt-Devel] [PATCH] ipq40xx: use DEVICE_VARIANT for Unielec U4019 flash size

Adrian Schmutzler freifunk at adrianschmutzler.de
Mon Oct 21 07:20:15 EDT 2019


If flash size is used as part of a device's title, it should be
specified as DEVICE_VARIANT like for the other devices so far.

Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ipq40xx/image/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile
index 8907eb756b..cdca130ebd 100644
--- a/target/linux/ipq40xx/image/Makefile
+++ b/target/linux/ipq40xx/image/Makefile
@@ -407,7 +407,8 @@ TARGET_DEVICES += qxwlan_e2600ac-c2
 define Device/unielec_u4019-32m
 	$(call Device/FitImage)
 	DEVICE_VENDOR := Unielec
-	DEVICE_MODEL := U4019 (32M)
+	DEVICE_MODEL := U4019
+	DEVICE_VARIANT := 32M
 	BOARD_NAME := u4019-32m
 	DEVICE_DTS := qcom-ipq4019-unielec-u4019-32m
 	KERNEL_SIZE := 4096k
-- 
2.20.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