From dc7872d8f81a1bd187f24b9a5f9d27527af038c6 Mon Sep 17 00:00:00 2001
From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Date: Mon, 21 Oct 2019 13:20:15 +0200
Subject: [PATCH] ipq40xx: use DEVICE_VARIANT for Unielec U4019 flash size

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(-)

diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile
index 5b460d1c1fb..ed46bca6490 100644
--- a/target/linux/ipq40xx/image/Makefile
+++ b/target/linux/ipq40xx/image/Makefile
@@ -417,7 +417,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
-- 
GitLab