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:
@@ -492,7 +492,7 @@ define Device/tplink_tl-mr6400-v1
|
||||
DEVICE_MODEL := TL-MR6400
|
||||
DEVICE_VARIANT := v1
|
||||
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
|
||||
SUPPORTED_DEVICES += tl-mr6400
|
||||
endef
|
||||
|
||||
@@ -1116,7 +1116,7 @@ define Device/etactica_eg200
|
||||
DEVICE_VENDOR := eTactica
|
||||
DEVICE_MODEL := EG200
|
||||
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
|
||||
SUPPORTED_DEVICES += rme-eg200
|
||||
endef
|
||||
@@ -2219,7 +2219,7 @@ define Device/zbtlink_zbt-wd323
|
||||
DEVICE_MODEL := WD323
|
||||
IMAGE_SIZE := 16000k
|
||||
DEVICE_PACKAGES := kmod-usb2 kmod-i2c-gpio kmod-rtc-pcf8563 \
|
||||
kmod-usb-serial kmod-usb-serial-cp210x uqmi
|
||||
kmod-usb-serial-cp210x uqmi
|
||||
endef
|
||||
TARGET_DEVICES += zbtlink_zbt-wd323
|
||||
|
||||
|
||||
Reference in New Issue
Block a user