aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image/generic-tp-link.mk
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-08-22 14:34:45 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-09-21 22:17:39 +0200
commitd1e3f32dcf63d19dcfe5cb4a1d8437e7a55cb96e (patch)
treea2614da6820e57eb436289d821f7f9a06fa0ee86 /target/linux/ath79/image/generic-tp-link.mk
parent4fc0a61ed3da96330d30703a2a039a6a06dc0b2f (diff)
downloadupstream-d1e3f32dcf63d19dcfe5cb4a1d8437e7a55cb96e.tar.gz
upstream-d1e3f32dcf63d19dcfe5cb4a1d8437e7a55cb96e.tar.bz2
upstream-d1e3f32dcf63d19dcfe5cb4a1d8437e7a55cb96e.zip
ath79: sort device definitions in image/*
This applies alphabetic sorting to devices in image/* files. For certain cases, this patch deviates from strict sorting, e.g. to ensure that v10 comes after v9. While at it, fix an indent and remove some useless empty lines. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/image/generic-tp-link.mk')
-rw-r--r--target/linux/ath79/image/generic-tp-link.mk212
1 files changed, 106 insertions, 106 deletions
diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
index 5519e9c960..a38b8ef8d8 100644
--- a/target/linux/ath79/image/generic-tp-link.mk
+++ b/target/linux/ath79/image/generic-tp-link.mk
@@ -36,6 +36,17 @@ define Device/tplink_archer-c25-v1
endef
TARGET_DEVICES += tplink_archer-c25-v1
+define Device/tplink_archer-c5-v1
+ $(Device/tplink-16mlzma)
+ ATH_SOC := qca9558
+ DEVICE_MODEL := Archer C5
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ TPLINK_HWID := 0xc5000001
+ SUPPORTED_DEVICES += archer-c5
+endef
+TARGET_DEVICES += tplink_archer-c5-v1
+
define Device/tplink_archer-c58-v1
$(Device/tplink-safeloader-uimage)
ATH_SOC := qca9561
@@ -72,6 +83,17 @@ define Device/tplink_archer-c59-v2
endef
TARGET_DEVICES += tplink_archer-c59-v2
+define Device/tplink_archer-c6-v2
+ $(Device/tplink-safeloader-uimage)
+ ATH_SOC := qca9563
+ IMAGE_SIZE := 7808k
+ DEVICE_MODEL := Archer C6
+ DEVICE_VARIANT := v2
+ TPLINK_BOARD_ID := ARCHER-C6-V2
+ DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
+endef
+TARGET_DEVICES += tplink_archer-c6-v2
+
define Device/tplink_archer-c60-v1
$(Device/tplink-safeloader-uimage)
ATH_SOC := qca9561
@@ -96,28 +118,6 @@ define Device/tplink_archer-c60-v2
endef
TARGET_DEVICES += tplink_archer-c60-v2
-define Device/tplink_archer-c6-v2
- $(Device/tplink-safeloader-uimage)
- ATH_SOC := qca9563
- IMAGE_SIZE := 7808k
- DEVICE_MODEL := Archer C6
- DEVICE_VARIANT := v2
- TPLINK_BOARD_ID := ARCHER-C6-V2
- DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
-endef
-TARGET_DEVICES += tplink_archer-c6-v2
-
-define Device/tplink_archer-c5-v1
- $(Device/tplink-16mlzma)
- ATH_SOC := qca9558
- DEVICE_MODEL := Archer C5
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
- TPLINK_HWID := 0xc5000001
- SUPPORTED_DEVICES += archer-c5
-endef
-TARGET_DEVICES += tplink_archer-c5-v1
-
define Device/tplink_archer-c7-v1
$(Device/tplink-8mlzma)
ATH_SOC := qca9558
@@ -169,6 +169,28 @@ define Device/tplink_archer-c7-v5
endef
TARGET_DEVICES += tplink_archer-c7-v5
+define Device/tplink_archer-d50-v1
+ ATH_SOC := qca9531
+ DEVICE_VENDOR := TP-Link
+ DEVICE_MODEL := Archer D50
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ BOARDNAME := ARCHER-D50-V1
+ IMAGE_SIZE := 7808k
+ TPLINK_HWID := 0xC1200001
+ TPLINK_HWREV := 0x00000046
+ TPLINK_FLASHLAYOUT := 8Mqca
+ TPLINK_HWREVADD := 0x00000000
+ TPLINK_HVERSION := 3
+ KERNEL := kernel-bin | append-dtb | lzma
+ KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | \
+ tplink-v2-header -s -V "ver. 1.0"
+ IMAGES := sysupgrade.bin
+ IMAGE/sysupgrade.bin := tplink-v2-image -s -V "ver. 2.0" | \
+ append-metadata | check-size $$$$(IMAGE_SIZE)
+endef
+TARGET_DEVICES += tplink_archer-d50-v1
+
define Device/tplink_cpe210-v1
$(Device/tplink-loader-okli)
ATH_SOC := ar9344
@@ -264,28 +286,6 @@ define Device/tplink_cpe610-v1
endef
TARGET_DEVICES += tplink_cpe610-v1
-define Device/tplink_archer-d50-v1
- ATH_SOC := qca9531
- DEVICE_VENDOR := TP-Link
- DEVICE_MODEL := Archer D50
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
- BOARDNAME := ARCHER-D50-V1
- IMAGE_SIZE := 7808k
- TPLINK_HWID := 0xC1200001
- TPLINK_HWREV := 0x00000046
- TPLINK_FLASHLAYOUT := 8Mqca
- TPLINK_HWREVADD := 0x00000000
- TPLINK_HVERSION := 3
- KERNEL := kernel-bin | append-dtb | lzma
- KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | \
- tplink-v2-header -s -V "ver. 1.0"
- IMAGES := sysupgrade.bin
- IMAGE/sysupgrade.bin := tplink-v2-image -s -V "ver. 2.0" | \
- append-metadata | check-size $$$$(IMAGE_SIZE)
-endef
-TARGET_DEVICES += tplink_archer-d50-v1
-
define Device/tplink_re350k-v1
$(Device/tplink-safeloader)
ATH_SOC := qca9558
@@ -383,68 +383,6 @@ define Device/tplink_tl-wdr4900-v2
endef
TARGET_DEVICES += tplink_tl-wdr4900-v2
-define Device/tplink_tl-wr810n-v1
- $(Device/tplink-8mlzma)
- ATH_SOC := qca9531
- DEVICE_MODEL := TL-WR810N
- DEVICE_VARIANT := v1
- TPLINK_HWID := 0x8100001
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
-endef
-TARGET_DEVICES += tplink_tl-wr810n-v1
-
-define Device/tplink_tl-wr810n-v2
- $(Device/tplink-8mlzma)
- ATH_SOC := qca9533
- DEVICE_MODEL := TL-WR810N
- DEVICE_VARIANT := v2
- TPLINK_HWID := 0x8100002
-endef
-TARGET_DEVICES += tplink_tl-wr810n-v2
-
-define Device/tplink_tl-wr710n-v1
- $(Device/tplink-8mlzma)
- ATH_SOC := ar9331
- DEVICE_MODEL := TL-WR710N
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
- TPLINK_HWID := 0x07100001
- SUPPORTED_DEVICES += tl-wr710n
-endef
-TARGET_DEVICES += tplink_tl-wr710n-v1
-
-define Device/tplink_tl-wr842n-v1
- $(Device/tplink-8m)
- ATH_SOC := ar7241
- DEVICE_MODEL := TL-WR842N/ND
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- TPLINK_HWID := 0x8420001
-endef
-TARGET_DEVICES += tplink_tl-wr842n-v1
-
-define Device/tplink_tl-wr842n-v2
- $(Device/tplink-8mlzma)
- ATH_SOC := ar9341
- DEVICE_MODEL := TL-WR842N/ND
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- TPLINK_HWID := 0x8420002
- SUPPORTED_DEVICES += tl-wr842n-v2
-endef
-TARGET_DEVICES += tplink_tl-wr842n-v2
-
-define Device/tplink_tl-wr842n-v3
- $(Device/tplink-16mlzma)
- ATH_SOC := qca9533
- DEVICE_MODEL := TL-WR842N
- DEVICE_VARIANT := v3
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- TPLINK_HWID := 0x8420003
- SUPPORTED_DEVICES += tl-wr842n-v3
-endef
-TARGET_DEVICES += tplink_tl-wr842n-v3
-
define Device/tplink_tl-wr1043nd-v1
$(Device/tplink-8m)
ATH_SOC := ar9132
@@ -515,3 +453,65 @@ define Device/tplink_tl-wr2543-v1
SUPPORTED_DEVICES += tl-wr2543-v1
endef
TARGET_DEVICES += tplink_tl-wr2543-v1
+
+define Device/tplink_tl-wr710n-v1
+ $(Device/tplink-8mlzma)
+ ATH_SOC := ar9331
+ DEVICE_MODEL := TL-WR710N
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
+ TPLINK_HWID := 0x07100001
+ SUPPORTED_DEVICES += tl-wr710n
+endef
+TARGET_DEVICES += tplink_tl-wr710n-v1
+
+define Device/tplink_tl-wr810n-v1
+ $(Device/tplink-8mlzma)
+ ATH_SOC := qca9531
+ DEVICE_MODEL := TL-WR810N
+ DEVICE_VARIANT := v1
+ TPLINK_HWID := 0x8100001
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
+endef
+TARGET_DEVICES += tplink_tl-wr810n-v1
+
+define Device/tplink_tl-wr810n-v2
+ $(Device/tplink-8mlzma)
+ ATH_SOC := qca9533
+ DEVICE_MODEL := TL-WR810N
+ DEVICE_VARIANT := v2
+ TPLINK_HWID := 0x8100002
+endef
+TARGET_DEVICES += tplink_tl-wr810n-v2
+
+define Device/tplink_tl-wr842n-v1
+ $(Device/tplink-8m)
+ ATH_SOC := ar7241
+ DEVICE_MODEL := TL-WR842N/ND
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
+ TPLINK_HWID := 0x8420001
+endef
+TARGET_DEVICES += tplink_tl-wr842n-v1
+
+define Device/tplink_tl-wr842n-v2
+ $(Device/tplink-8mlzma)
+ ATH_SOC := ar9341
+ DEVICE_MODEL := TL-WR842N/ND
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
+ TPLINK_HWID := 0x8420002
+ SUPPORTED_DEVICES += tl-wr842n-v2
+endef
+TARGET_DEVICES += tplink_tl-wr842n-v2
+
+define Device/tplink_tl-wr842n-v3
+ $(Device/tplink-16mlzma)
+ ATH_SOC := qca9533
+ DEVICE_MODEL := TL-WR842N
+ DEVICE_VARIANT := v3
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
+ TPLINK_HWID := 0x8420003
+ SUPPORTED_DEVICES += tl-wr842n-v3
+endef
+TARGET_DEVICES += tplink_tl-wr842n-v3