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>
(cherry picked from commit 9397b22df1)
This commit is contained in:
@@ -445,7 +445,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
|
||||
|
||||
@@ -1034,7 +1034,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
|
||||
@@ -1221,7 +1221,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
|
||||
|
||||
|
||||
@@ -528,7 +528,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
|
||||
@@ -544,7 +544,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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user