diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-05 12:03:13 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-10 12:54:30 +0200 |
commit | d4ac0ad543027b6ac862fcd84f2aeae05f2b669e (patch) | |
tree | f1a973cf39e7982e693af25165c5498328261b75 /target/linux/ath79 | |
parent | c00b8dcf72b5df6137e2726cf40645abe188d57a (diff) | |
download | upstream-d4ac0ad543027b6ac862fcd84f2aeae05f2b669e.tar.gz upstream-d4ac0ad543027b6ac862fcd84f2aeae05f2b669e.tar.bz2 upstream-d4ac0ad543027b6ac862fcd84f2aeae05f2b669e.zip |
treewide: make dependency on kmod-usb-net selective
A bunch of kernel modules depends on kmod-usb-net, but does not
select it. Make AddDepends/usb-net selective, so we can drop
some redundant +kmod-usb-net definitions for DEVICE_PACKAGES.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/image/generic-tp-link.mk | 2 | ||||
-rw-r--r-- | target/linux/ath79/image/generic.mk | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk index 346944ab6f..c2cda6b3df 100644 --- a/target/linux/ath79/image/generic-tp-link.mk +++ b/target/linux/ath79/image/generic-tp-link.mk @@ -428,7 +428,7 @@ define Device/tplink_tl-mr6400-v1 DEVICE_MODEL := TL-MR6400 DEVICE_VARIANT := v1 TPLINK_HWID := 0x64000001 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial \ + DEVICE_PACKAGES := kmod-usb2 kmod-usb-net-rndis kmod-usb-serial \ kmod-usb-serial-option adb-enablemodem SUPPORTED_DEVICES += tl-mr6400 endef diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index ee798bf321..81117f0827 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -416,8 +416,8 @@ define Device/comfast_cf-e5 SOC := qca9531 DEVICE_VENDOR := COMFAST DEVICE_MODEL := CF-E5/E7 - DEVICE_PACKAGES := rssileds kmod-usb2 kmod-usb-net \ - kmod-usb-net-qmi-wwan -swconfig -uboot-envtools + DEVICE_PACKAGES := rssileds kmod-usb2 kmod-usb-net-qmi-wwan -swconfig \ + -uboot-envtools IMAGE_SIZE := 16192k endef TARGET_DEVICES += comfast_cf-e5 |