mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 03:55:06 +00:00
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> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
f904f67f65
commit
ef4fdc50c4
@ -561,7 +561,7 @@ $(eval $(call KernelPackage,usb-serial))
|
|||||||
|
|
||||||
define AddDepends/usb-serial
|
define AddDepends/usb-serial
|
||||||
SUBMENU:=$(USB_MENU)
|
SUBMENU:=$(USB_MENU)
|
||||||
DEPENDS+=kmod-usb-serial $(1)
|
DEPENDS+=+kmod-usb-serial $(1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
@ -116,8 +116,8 @@ define Device/calamp_lmu5000
|
|||||||
$(Device/production)
|
$(Device/production)
|
||||||
DEVICE_VENDOR := CalAmp
|
DEVICE_VENDOR := CalAmp
|
||||||
DEVICE_MODEL := LMU5000
|
DEVICE_MODEL := LMU5000
|
||||||
DEVICE_PACKAGES := kmod-rtc-pcf2123 kmod-usb-acm kmod-usb-serial \
|
DEVICE_PACKAGES := kmod-rtc-pcf2123 kmod-usb-acm \
|
||||||
kmod-usb-serial-option kmod-usb-serial-sierrawireless kmod-gpio-mcp23s08
|
kmod-usb-serial-option kmod-usb-serial-sierrawireless kmod-gpio-mcp23s08
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += calamp_lmu5000
|
TARGET_DEVICES += calamp_lmu5000
|
||||||
|
|
||||||
|
@ -492,7 +492,7 @@ define Device/tplink_tl-mr6400-v1
|
|||||||
DEVICE_MODEL := TL-MR6400
|
DEVICE_MODEL := TL-MR6400
|
||||||
DEVICE_VARIANT := v1
|
DEVICE_VARIANT := v1
|
||||||
TPLINK_HWID := 0x64000001
|
TPLINK_HWID := 0x64000001
|
||||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-net-rndis kmod-usb-serial \
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-net-rndis \
|
||||||
kmod-usb-serial-option adb-enablemodem
|
kmod-usb-serial-option adb-enablemodem
|
||||||
SUPPORTED_DEVICES += tl-mr6400
|
SUPPORTED_DEVICES += tl-mr6400
|
||||||
endef
|
endef
|
||||||
|
@ -1099,7 +1099,7 @@ define Device/etactica_eg200
|
|||||||
DEVICE_VENDOR := eTactica
|
DEVICE_VENDOR := eTactica
|
||||||
DEVICE_MODEL := EG200
|
DEVICE_MODEL := EG200
|
||||||
DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
|
DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
|
||||||
kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
|
kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
|
||||||
IMAGE_SIZE := 16000k
|
IMAGE_SIZE := 16000k
|
||||||
SUPPORTED_DEVICES += rme-eg200
|
SUPPORTED_DEVICES += rme-eg200
|
||||||
endef
|
endef
|
||||||
@ -2202,7 +2202,7 @@ define Device/zbtlink_zbt-wd323
|
|||||||
DEVICE_MODEL := WD323
|
DEVICE_MODEL := WD323
|
||||||
IMAGE_SIZE := 16000k
|
IMAGE_SIZE := 16000k
|
||||||
DEVICE_PACKAGES := kmod-usb2 kmod-i2c-gpio kmod-rtc-pcf8563 \
|
DEVICE_PACKAGES := kmod-usb2 kmod-i2c-gpio kmod-rtc-pcf8563 \
|
||||||
kmod-usb-serial kmod-usb-serial-cp210x uqmi
|
kmod-usb-serial-cp210x uqmi
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += zbtlink_zbt-wd323
|
TARGET_DEVICES += zbtlink_zbt-wd323
|
||||||
|
|
||||||
|
@ -442,7 +442,7 @@ define Device/head-weblink_hdrm200
|
|||||||
DEVICE_VENDOR := Head Weblink
|
DEVICE_VENDOR := Head Weblink
|
||||||
DEVICE_MODEL := HDRM2000
|
DEVICE_MODEL := HDRM2000
|
||||||
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
|
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
|
endef
|
||||||
TARGET_DEVICES += head-weblink_hdrm200
|
TARGET_DEVICES += head-weblink_hdrm200
|
||||||
|
|
||||||
@ -1031,7 +1031,7 @@ define Device/tplink_archer-mr200
|
|||||||
TPLINK_HWREV := 0x4a
|
TPLINK_HWREV := 0x4a
|
||||||
IMAGES := sysupgrade.bin
|
IMAGES := sysupgrade.bin
|
||||||
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net-rndis \
|
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
|
DEVICE_MODEL := Archer MR200
|
||||||
SUPPORTED_DEVICES += mr200
|
SUPPORTED_DEVICES += mr200
|
||||||
endef
|
endef
|
||||||
@ -1218,7 +1218,7 @@ define Device/zbtlink_zbt-we826-e
|
|||||||
DEVICE_VENDOR := Zbtlink
|
DEVICE_VENDOR := Zbtlink
|
||||||
DEVICE_MODEL := ZBT-WE826-E
|
DEVICE_MODEL := ZBT-WE826-E
|
||||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 uqmi \
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 uqmi \
|
||||||
kmod-usb-serial kmod-usb-serial-option
|
kmod-usb-serial-option
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += zbtlink_zbt-we826-e
|
TARGET_DEVICES += zbtlink_zbt-we826-e
|
||||||
|
|
||||||
|
@ -527,7 +527,7 @@ define Device/tplink_tl-mr6400-v4
|
|||||||
TPLINK_HWREV := 0x4
|
TPLINK_HWREV := 0x4
|
||||||
TPLINK_HWREVADD := 0x4
|
TPLINK_HWREVADD := 0x4
|
||||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
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
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
||||||
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
||||||
endef
|
endef
|
||||||
@ -543,7 +543,7 @@ define Device/tplink_tl-mr6400-v5
|
|||||||
TPLINK_HWREV := 0x5
|
TPLINK_HWREV := 0x5
|
||||||
TPLINK_HWREVADD := 0x5
|
TPLINK_HWREVADD := 0x5
|
||||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
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
|
IMAGES := sysupgrade.bin tftp-recovery.bin
|
||||||
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
||||||
endef
|
endef
|
||||||
|
@ -472,7 +472,7 @@ define Device/dlink_dwr-512-b
|
|||||||
DEVICE_VENDOR := D-Link
|
DEVICE_VENDOR := D-Link
|
||||||
DEVICE_MODEL := DWR-512
|
DEVICE_MODEL := DWR-512
|
||||||
DEVICE_VARIANT := B
|
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
|
kmod-usb-serial-option kmod-usb-net-cdc-ether comgt-ncm
|
||||||
DLINK_ROM_ID := DLK6E2412001
|
DLINK_ROM_ID := DLK6E2412001
|
||||||
DLINK_FAMILY_MEMBER := 0x6E24
|
DLINK_FAMILY_MEMBER := 0x6E24
|
||||||
|
Loading…
Reference in New Issue
Block a user