mirror of https://github.com/hak5/openwrt.git
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>master
parent
c00b8dcf72
commit
d4ac0ad543
|
@ -1136,7 +1136,7 @@ $(eval $(call KernelPackage,usb-net))
|
|||
|
||||
define AddDepends/usb-net
|
||||
SUBMENU:=$(USB_MENU)
|
||||
DEPENDS+=kmod-usb-net $(1)
|
||||
DEPENDS+=+kmod-usb-net $(1)
|
||||
endef
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
define Profile/olinuxino-maxi
|
||||
NAME:=Olimex OLinuXino Maxi/Mini boards
|
||||
PACKAGES += imx-bootlets uboot-mxs-mx23_olinuxino \
|
||||
kmod-usb-net kmod-usb-net-smsc95xx kmod-gpio-mcp23s08 \
|
||||
kmod-usb-net-smsc95xx kmod-gpio-mcp23s08 \
|
||||
kmod-leds-gpio kmod-ledtrig-heartbeat kmod-sound-core
|
||||
endef
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ define Device/ti_omap3-beagle
|
|||
DEVICE_VENDOR := BeagleBoard.org
|
||||
DEVICE_MODEL := OMAP3 TI beagleboard
|
||||
# beagleboard doesn't have a network interface, support most common usb net
|
||||
DEVICE_PACKAGES := kmod-usb-net \
|
||||
DEVICE_PACKAGES := \
|
||||
kmod-usb-net-asix kmod-usb-net-asix-ax88179 kmod-usb-net-hso \
|
||||
kmod-usb-net-kaweth kmod-usb-net-pegasus kmod-usb-net-mcs7830 \
|
||||
kmod-usb-net-smsc95xx kmod-usb-net-dm9601-ether
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
define Profile/Default
|
||||
NAME:=Default Profile
|
||||
PACKAGES:= \
|
||||
kmod-usb-net \
|
||||
kmod-usb-net-asix kmod-usb-net-asix-ax88179 kmod-usb-net-hso \
|
||||
kmod-usb-net-kaweth kmod-usb-net-pegasus kmod-usb-net-mcs7830 \
|
||||
kmod-usb-net-smsc95xx kmod-usb-net-dm9601-ether \
|
||||
|
|
|
@ -1003,7 +1003,7 @@ define Device/tplink_archer-mr200
|
|||
TPLINK_HWID := 0xd7500001
|
||||
TPLINK_HWREV := 0x4a
|
||||
IMAGES := sysupgrade.bin
|
||||
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net kmod-usb-net-rndis \
|
||||
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net-rndis \
|
||||
kmod-usb-serial kmod-usb-serial-option adb-enablemodem
|
||||
DEVICE_MODEL := Archer MR200
|
||||
SUPPORTED_DEVICES += mr200
|
||||
|
|
|
@ -474,7 +474,7 @@ define Device/dlink_dwr-512-b
|
|||
DEVICE_MODEL := DWR-512
|
||||
DEVICE_VARIANT := B
|
||||
DEVICE_PACKAGES := jboot-tools kmod-usb2 kmod-spi-dev kmod-usb-serial \
|
||||
kmod-usb-serial-option kmod-usb-net kmod-usb-net-cdc-ether comgt-ncm
|
||||
kmod-usb-serial-option kmod-usb-net-cdc-ether comgt-ncm
|
||||
DLINK_ROM_ID := DLK6E2412001
|
||||
DLINK_FAMILY_MEMBER := 0x6E24
|
||||
DLINK_FIRMWARE_SIZE := 0x7E0000
|
||||
|
|
|
@ -11,7 +11,7 @@ define Device/friendlyarm_nanopi-r2s
|
|||
SOC := rk3328
|
||||
UBOOT_DEVICE_NAME := nanopi-r2s-rk3328
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r2s | pine64-img | gzip | append-metadata
|
||||
DEVICE_PACKAGES := kmod-usb-net kmod-usb-net-rtl8152
|
||||
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r2s
|
||||
|
||||
|
|
|
@ -173,7 +173,7 @@ TARGET_DEVICES += xunlong_orangepi-plus
|
|||
define Device/xunlong_orangepi-r1
|
||||
DEVICE_VENDOR := Xunlong
|
||||
DEVICE_MODEL := Orange Pi R1
|
||||
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-usb-net kmod-usb-net-rtl8152
|
||||
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-usb-net-rtl8152
|
||||
SOC := sun8i-h2-plus
|
||||
endef
|
||||
TARGET_DEVICES += xunlong_orangepi-r1
|
||||
|
|
Loading…
Reference in New Issue