From: Moritz Warning <moritzwarning@web.de>
Date: Sun, 14 Jul 2019 08:32:55 +0000 (+0200)
Subject: apm821xx: split up DEVICE_TITLE
X-Git-Tag: v21.02.0-rc1~5392
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=62db9ce1c47c76154050b4265ea54bdaaec06c19;p=openwrt%2Fstaging%2Fchunkeey.git

apm821xx: split up DEVICE_TITLE

Splits up DEVICE_TITLE into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
---

diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile
index 277b2a1fcc..acfd478755 100644
--- a/target/linux/apm821xx/image/Makefile
+++ b/target/linux/apm821xx/image/Makefile
@@ -122,7 +122,8 @@ endef
 ifeq ($(SUBTARGET),nand)
 
 define Device/meraki_mr24
-  DEVICE_TITLE := Cisco Meraki MR24
+  DEVICE_VENDOR := Cisco Meraki
+  DEVICE_MODEL := MR24
   DEVICE_PACKAGES := kmod-spi-gpio -swconfig
   BOARD_NAME := mr24
   DEVICE_DTS := meraki-mr24
@@ -139,7 +140,8 @@ endef
 TARGET_DEVICES += meraki_mr24
 
 define Device/meraki_mx60
-  DEVICE_TITLE := Cisco Meraki MX60/MX60W
+  DEVICE_VENDOR := Cisco Meraki
+  DEVICE_MODEL := MX60/MX60W
   DEVICE_PACKAGES := kmod-spi-gpio kmod-usb-ledtrig-usbport kmod-usb-dwc2 \
 		     kmod-usb-storage block-mount
   BOARD_NAME := mx60
@@ -158,6 +160,7 @@ endef
 TARGET_DEVICES += meraki_mx60
 
 define Device/netgear_wndap6x0
+  DEVICE_VENDOR := NETGEAR
   DEVICE_PACKAGES := kmod-eeprom-at24
   SUBPAGESIZE := 256
   PAGESIZE := 512
@@ -174,20 +177,21 @@ endef
 
 define Device/netgear_wndap620
   $(Device/netgear_wndap6x0)
-  DEVICE_TITLE := Netgear WNDAP620 - Premium Wireless-N
+  DEVICE_MODEL := WNDAP620 (Premium Wireless-N)
   DEVICE_DTS := netgear-wndap620
 endef
 TARGET_DEVICES += netgear_wndap620
 
 define Device/netgear_wndap660
   $(Device/netgear_wndap6x0)
-  DEVICE_TITLE := Netgear WNDAP660 - Dual Radio Dual Band Wireless-N
+  DEVICE_MODEL := WNDAP660 (Dual Radio Dual Band Wireless-N)
   DEVICE_DTS := netgear-wndap660
 endef
 TARGET_DEVICES += netgear_wndap660
 
 define Device/netgear_wndr4700
-  DEVICE_TITLE := Netgear Centria N900 WNDR4700/WNDR4720
+  DEVICE_VENDOR := NETGEAR
+  DEVICE_MODEL := Centria N900 WNDR4700/WNDR4720
   DEVICE_PACKAGES := badblocks block-mount e2fsprogs \
 	kmod-dm kmod-fs-ext4 kmod-fs-vfat kmod-usb-ledtrig-usbport \
 	kmod-md-mod kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-15 \
@@ -224,7 +228,8 @@ endif
 ifeq ($(SUBTARGET),sata)
 
 define Device/wd_mybooklive
-  DEVICE_TITLE := Western Digital My Book Live Series (Single + Duo)
+  DEVICE_VENDOR := Western Digital
+  DEVICE_MODEL := My Book Live Series (Single + Duo)
   DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport kmod-usb-storage kmod-fs-vfat wpad-basic
   DEVICE_TYPE := nas
   DEVICE_DTS := wd-mybooklive