aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image/generic-tp-link.mk
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-19 20:42:19 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-20 00:29:05 +0100
commit0757f7fedca77d169682d41e7b861d86e7308a11 (patch)
tree4023147ff5c8c7645afdc0cd39149aba7c1e005a /target/linux/ath79/image/generic-tp-link.mk
parente417ff88f19b90fc7badbb67b2e8c1760dd024dc (diff)
downloadupstream-0757f7fedca77d169682d41e7b861d86e7308a11.tar.gz
upstream-0757f7fedca77d169682d41e7b861d86e7308a11.tar.bz2
upstream-0757f7fedca77d169682d41e7b861d86e7308a11.zip
ath79: harmonize line breaks in image Makefiles
This harmonizes the line wrapping in image Makefile device definitions, as those are frequently copy-pasted and are a common subject of review comments. Having the treatment unifying should reduce the cases where adjustment is necessary afterwards. Harmonization is achieved by consistently (read "strictly") applying certain rules: - Never put more than 80 characters into one line - Fill lines up (do not break after 40 chars because of ...) - Use one tab for indent after wrapping by "\" - Only break after pipe "|" for IMAGE variables 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.mk36
1 files changed, 22 insertions, 14 deletions
diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
index c43927e19b..260e5a37c4 100644
--- a/target/linux/ath79/image/generic-tp-link.mk
+++ b/target/linux/ath79/image/generic-tp-link.mk
@@ -6,7 +6,8 @@ define Device/tplink_archer-a7-v5
IMAGE_SIZE := 15104k
DEVICE_MODEL := Archer A7
DEVICE_VARIANT := v5
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca988x-ct
TPLINK_BOARD_ID := ARCHER-A7-V5
BOARDNAME := ARCHER-A7-V5
SUPPORTED_DEVICES += archer-a7-v5
@@ -41,7 +42,8 @@ define Device/tplink_archer-c5-v1
ATH_SOC := qca9558
DEVICE_MODEL := Archer C5
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca988x-ct
TPLINK_HWID := 0xc5000001
SUPPORTED_DEVICES += archer-c5
endef
@@ -66,7 +68,8 @@ define Device/tplink_archer-c59-v1
DEVICE_MODEL := Archer C59
DEVICE_VARIANT := v1
TPLINK_BOARD_ID := ARCHER-C59-V1
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca9888-ct
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca9888-ct
SUPPORTED_DEVICES += archer-c59-v1
endef
TARGET_DEVICES += tplink_archer-c59-v1
@@ -78,7 +81,8 @@ define Device/tplink_archer-c59-v2
DEVICE_MODEL := Archer C59
DEVICE_VARIANT := v2
TPLINK_BOARD_ID := ARCHER-C59-V2
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca9888-ct
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca9888-ct
SUPPORTED_DEVICES += archer-c59-v2
endef
TARGET_DEVICES += tplink_archer-c59-v2
@@ -148,7 +152,8 @@ define Device/tplink_archer-c7-v2
ATH_SOC := qca9558
DEVICE_MODEL := Archer C7
DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca988x-ct
TPLINK_HWID := 0xc7000002
SUPPORTED_DEVICES += archer-c7
IMAGES += factory-us.bin factory-eu.bin
@@ -163,7 +168,8 @@ define Device/tplink_archer-c7-v4
IMAGE_SIZE := 15104k
DEVICE_MODEL := Archer C7
DEVICE_VARIANT := v4
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca988x-ct
TPLINK_BOARD_ID := ARCHER-C7-V4
BOARDNAME := ARCHER-C7-V4
SUPPORTED_DEVICES += archer-c7-v4
@@ -176,7 +182,8 @@ define Device/tplink_archer-c7-v5
IMAGE_SIZE := 15360k
DEVICE_MODEL := Archer C7
DEVICE_VARIANT := v5
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca988x-ct
TPLINK_BOARD_ID := ARCHER-C7-V5
BOARDNAME := ARCHER-C7-V5
SUPPORTED_DEVICES += archer-c7-v5
@@ -188,7 +195,8 @@ define Device/tplink_archer-d50-v1
DEVICE_VENDOR := TP-Link
DEVICE_MODEL := Archer D50
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca988x-ct
BOARDNAME := ARCHER-D50-V1
IMAGE_SIZE := 7808k
TPLINK_HWID := 0xC1200001
@@ -198,10 +206,10 @@ define Device/tplink_archer-d50-v1
TPLINK_HVERSION := 3
KERNEL := kernel-bin | append-dtb | lzma
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | \
- tplink-v2-header -s -V "ver. 1.0"
+ 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)
+ IMAGE/sysupgrade.bin := tplink-v2-image -s -V "ver. 2.0" | append-metadata | \
+ check-size $$$$(IMAGE_SIZE)
endef
TARGET_DEVICES += tplink_archer-d50-v1
@@ -495,7 +503,7 @@ define Device/tplink_tl-wr2543-v1
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
TPLINK_HWID := 0x25430001
IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99 | \
- append-metadata | check-size $$$$(IMAGE_SIZE)
+ append-metadata | check-size $$$$(IMAGE_SIZE)
IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
SUPPORTED_DEVICES += tl-wr2543-v1
endef
@@ -568,8 +576,8 @@ define Device/tplink_tl-wr902ac-v1
ATH_SOC := qca9531
DEVICE_MODEL := TL-WR902AC
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
- kmod-ath10k-ct ath10k-firmware-qca9887-ct -swconfig -uboot-envtools
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
+ ath10k-firmware-qca9887-ct -swconfig -uboot-envtools
TPLINK_BOARD_ID := TL-WR902AC-V1
IMAGE_SIZE := 7360k
TPLINK_HWID := 0x0