From b063faa2c8f3a5a9019ae58d91d70c757cd23415 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 15 Sep 2016 19:17:43 +0200 Subject: [PATCH] ar71xx: separate TP-Link TL-WDR3600/4300/4310 profiles Simplify modifying some of the images without affecting the others. While we're at it, also unify the profiles to use := syntax and add "v1" to the TL-WDR4300 name to make things more consistent. Signed-off-by: Matthias Schiffer --- target/linux/ar71xx/image/tp-link.mk | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk index c2080ab3ab..3d756e53e2 100644 --- a/target/linux/ar71xx/image/tp-link.mk +++ b/target/linux/ar71xx/image/tp-link.mk @@ -111,35 +111,46 @@ TARGET_DEVICES += cpe210-220 cpe510-520 define Device/tl-wdr4300-v1 $(Device/tplink-8mlzma) - DEVICE_TITLE := TP-LINK TL-WDR4300 + DEVICE_TITLE := TP-LINK TL-WDR4300 v1 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev - BOARDNAME = TL-WDR4300 - DEVICE_PROFILE = TLWDR4300 + BOARDNAME := TL-WDR4300 + DEVICE_PROFILE := TLWDR4300 TPLINK_HWID := 0x43000001 endef define Device/tl-wdr3500-v1 -$(Device/tl-wdr4300-v1) +$(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR3500 v1 - BOARDNAME = TL-WDR3500 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + BOARDNAME := TL-WDR3500 + DEVICE_PROFILE := TLWDR4300 TPLINK_HWID := 0x35000001 endef define Device/tl-wdr3600-v1 -$(Device/tl-wdr4300-v1) +$(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR3600 v1 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + BOARDNAME := TL-WDR4300 + DEVICE_PROFILE := TLWDR4300 TPLINK_HWID := 0x36000001 endef define Device/tl-wdr4300-v1-il -$(Device/tl-wdr4300-v1) +$(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR4300 v1 IL + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + BOARDNAME := TL-WDR4300 + DEVICE_PROFILE := TLWDR4300 TPLINK_HWID := 0x43008001 endef define Device/tl-wdr4310-v1 -$(Device/tl-wdr4300-v1) +$(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WDR4310 v1 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev + BOARDNAME := TL-WDR4300 + DEVICE_PROFILE = TLWDR4300 TPLINK_HWID := 0x43100001 endef @@ -864,4 +875,3 @@ define Device/tl-wa7210n-v2 CONSOLE := ttyATH0,115200 endef TARGET_DEVICES += tl-wa7210n-v2 -