aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-25 11:54:43 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-06 12:38:38 +0100
commit9397b22df1473f315552578b58322db7f7750361 (patch)
tree586acf0ccfa704c3496fb1fc2e4d440b9a1c4898 /target/linux/ramips
parent85b1f4d8ca2d501664acce471117dc612bb69d82 (diff)
downloadupstream-9397b22df1473f315552578b58322db7f7750361.tar.gz
upstream-9397b22df1473f315552578b58322db7f7750361.tar.bz2
upstream-9397b22df1473f315552578b58322db7f7750361.zip
treewide: make AddDepends/usb-serial selective
Make packages depending on usb-serial selective, so we do not have to add kmod-usb-serial manually for every device. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/image/mt7620.mk6
-rw-r--r--target/linux/ramips/image/mt76x8.mk4
-rw-r--r--target/linux/ramips/image/rt305x.mk2
3 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index f8905ad2b7..327df51e58 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -442,7 +442,7 @@ define Device/head-weblink_hdrm200
DEVICE_VENDOR := Head Weblink
DEVICE_MODEL := HDRM2000
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
- uqmi kmod-usb-serial kmod-usb-serial-option
+ uqmi kmod-usb-serial-option
endef
TARGET_DEVICES += head-weblink_hdrm200
@@ -1031,7 +1031,7 @@ define Device/tplink_archer-mr200
TPLINK_HWREV := 0x4a
IMAGES := sysupgrade.bin
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net-rndis \
- kmod-usb-serial kmod-usb-serial-option adb-enablemodem
+ kmod-usb-serial-option adb-enablemodem
DEVICE_MODEL := Archer MR200
SUPPORTED_DEVICES += mr200
endef
@@ -1218,7 +1218,7 @@ define Device/zbtlink_zbt-we826-e
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE826-E
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 uqmi \
- kmod-usb-serial kmod-usb-serial-option
+ kmod-usb-serial-option
endef
TARGET_DEVICES += zbtlink_zbt-we826-e
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index 7ba2acacb8..d5a9684dba 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/target/linux/ramips/image/mt76x8.mk
@@ -527,7 +527,7 @@ define Device/tplink_tl-mr6400-v4
TPLINK_HWREV := 0x4
TPLINK_HWREVADD := 0x4
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
- kmod-usb-serial kmod-usb-serial-option kmod-usb-net-qmi-wwan uqmi
+ kmod-usb-serial-option kmod-usb-net-qmi-wwan uqmi
IMAGES := sysupgrade.bin tftp-recovery.bin
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
endef
@@ -543,7 +543,7 @@ define Device/tplink_tl-mr6400-v5
TPLINK_HWREV := 0x5
TPLINK_HWREVADD := 0x5
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
- kmod-usb-serial kmod-usb-serial-option kmod-usb-net-qmi-wwan uqmi
+ kmod-usb-serial-option kmod-usb-net-qmi-wwan uqmi
IMAGES := sysupgrade.bin tftp-recovery.bin
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
endef
diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk
index c2ae7fab6a..30c9b0154a 100644
--- a/target/linux/ramips/image/rt305x.mk
+++ b/target/linux/ramips/image/rt305x.mk
@@ -472,7 +472,7 @@ define Device/dlink_dwr-512-b
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DWR-512
DEVICE_VARIANT := B
- DEVICE_PACKAGES := jboot-tools kmod-usb2 kmod-spi-dev kmod-usb-serial \
+ DEVICE_PACKAGES := jboot-tools kmod-usb2 kmod-spi-dev \
kmod-usb-serial-option kmod-usb-net-cdc-ether comgt-ncm
DLINK_ROM_ID := DLK6E2412001
DLINK_FAMILY_MEMBER := 0x6E24