aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/image/tp-link.mk
diff options
context:
space:
mode:
authorMoritz Warning <moritzwarning@web.de>2019-07-11 12:47:56 +0200
committerDaniel Golle <daniel@makrotopia.org>2019-08-22 12:57:34 +0200
commitfd666870582f5f220165d6df46b085a6450b6051 (patch)
tree2f45d8dedefe2a3af1b124e95161cc50c48be511 /target/linux/lantiq/image/tp-link.mk
parent4ee3cf2b5aedbaf9631dd14cd4f1011407b91789 (diff)
downloadupstream-fd666870582f5f220165d6df46b085a6450b6051.tar.gz
upstream-fd666870582f5f220165d6df46b085a6450b6051.tar.bz2
upstream-fd666870582f5f220165d6df46b085a6450b6051.zip
lantiq: split up DEVICE_TITLE
DEVICE_TITLE is split up into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT Uses DEVICE_ALT* variables for alternative vendor/retailer names. Signed-off-by: Moritz Warning <moritzwarning@web.de>
Diffstat (limited to 'target/linux/lantiq/image/tp-link.mk')
-rw-r--r--target/linux/lantiq/image/tp-link.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/target/linux/lantiq/image/tp-link.mk b/target/linux/lantiq/image/tp-link.mk
index bec9eafbd1..3be40fc947 100644
--- a/target/linux/lantiq/image/tp-link.mk
+++ b/target/linux/lantiq/image/tp-link.mk
@@ -1,6 +1,7 @@
DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD TPLINK_HVERSION
define Device/lantiqTpLink
+ DEVICE_VENDOR := TP-Link
TPLINK_HWREVADD := 0
TPLINK_HVERSION := 2
KERNEL := kernel-bin | append-dtb | lzma
@@ -13,12 +14,13 @@ endef
define Device/tplink_tdw8970
$(Device/lantiqTpLink)
+ DEVICE_MODEL := TD-W8970
+ DEVICE_VARIANT := v1
DEVICE_DTS := TDW8970
TPLINK_FLASHLAYOUT := 8Mltq
TPLINK_HWID := 0x89700001
TPLINK_HWREV := 1
IMAGE_SIZE := 7680k
- DEVICE_TITLE := TP-LINK TD-W8970
DEVICE_PACKAGES:= kmod-ath9k wpad-basic kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += TDW8970
endef
@@ -26,12 +28,13 @@ TARGET_DEVICES += tplink_tdw8970
define Device/tplink_tdw8980
$(Device/lantiqTpLink)
+ DEVICE_MODEL := TD-W8980
+ DEVICE_VARIANT := v1
DEVICE_DTS := TDW8980
TPLINK_FLASHLAYOUT := 8Mltq
TPLINK_HWID := 0x89800001
TPLINK_HWREV := 14
IMAGE_SIZE := 7680k
- DEVICE_TITLE := TP-LINK TD-W8980
DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-basic kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += TDW8980
endef
@@ -39,12 +42,13 @@ TARGET_DEVICES += tplink_tdw8980
define Device/tplink_vr200
$(Device/lantiqTpLink)
+ DEVICE_MODEL := Archer VR200
+ DEVICE_VARIANT := v1
DEVICE_DTS := VR200
TPLINK_FLASHLAYOUT := 16Mltq
TPLINK_HWID := 0x63e64801
TPLINK_HWREV := 0x53
IMAGE_SIZE := 15808k
- DEVICE_TITLE := TP-LINK Archer VR200
DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += VR200
endef
@@ -52,12 +56,13 @@ TARGET_DEVICES += tplink_vr200
define Device/tplink_vr200v
$(Device/lantiqTpLink)
+ DEVICE_MODEL := Archer VR200v
+ DEVICE_VARIANT := v1
DEVICE_DTS := VR200v
TPLINK_FLASHLAYOUT := 16Mltq
TPLINK_HWID := 0x73b70801
TPLINK_HWREV := 0x2f
IMAGE_SIZE := 15808k
- DEVICE_TITLE := TP-LINK Archer VR200v
DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport kmod-ltq-tapi kmod-ltq-vmmc
SUPPORTED_DEVICES += VR200v
endef