kernel/modules: fix CDC NCM dependencies
CDC NCM support only depends on CDC Ethernet with Linux 5.10. Fix thusly. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
This commit is contained in:
parent
fc61a87c29
commit
9a20c844f4
@ -1387,7 +1387,7 @@ define KernelPackage/usb-net-cdc-ncm
|
|||||||
KCONFIG:=CONFIG_USB_NET_CDC_NCM
|
KCONFIG:=CONFIG_USB_NET_CDC_NCM
|
||||||
FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
|
FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,cdc_ncm)
|
AUTOLOAD:=$(call AutoProbe,cdc_ncm)
|
||||||
$(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
|
$(call AddDepends/usb-net,+!LINUX_5_4:kmod-usb-net-cdc-ether)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/usb-net-cdc-ncm/description
|
define KernelPackage/usb-net-cdc-ncm/description
|
||||||
|
Loading…
Reference in New Issue
Block a user