[OpenWrt-Devel] ipq40xx: use DEVICE_VARIANT for Unielec U4019 flash size
diff mbox series

Message ID 20191021112015.1515-1-freifunk@adrianschmutzler.de
State Accepted
Delegated to: John Crispin
Headers show
Series
  • [OpenWrt-Devel] ipq40xx: use DEVICE_VARIANT for Unielec U4019 flash size
Related show

Commit Message

Adrian Schmutzler Oct. 21, 2019, 11:20 a.m. UTC
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@adrianschmutzler.de>
---
 target/linux/ipq40xx/image/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox series

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