mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
kernel: usb-net-asix: fix 5.15 dependency
Upstream in commit 34a1dee6bc44 ("net: usb: asix: ax88772: add generic selftest support") in version 5.14 added dependency on generic selftest functionality and armvirt/64 when compiled with ALL_KMODS=y reports following: Package kmod-usb-net-asix is missing dependencies for the following libraries: mdio_devres.ko selftests.ko Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
d34a06cb58
commit
faef3eb816
@ -1138,12 +1138,11 @@ $(eval $(call KernelPackage,usb-net-aqc111))
|
|||||||
|
|
||||||
define KernelPackage/usb-net-asix
|
define KernelPackage/usb-net-asix
|
||||||
TITLE:=Kernel module for USB-to-Ethernet Asix convertors
|
TITLE:=Kernel module for USB-to-Ethernet Asix convertors
|
||||||
DEPENDS:=+(LINUX_5_4||LINUX_5_10):kmod-libphy \
|
DEPENDS:=+(LINUX_5_4||LINUX_5_10):kmod-libphy +LINUX_6_1:kmod-phylink \
|
||||||
+(LINUX_5_15||LINUX_6_1):kmod-mdio-devres +LINUX_6_1:kmod-phylink
|
+(LINUX_5_15||LINUX_6_1):kmod-mdio-devres \
|
||||||
|
+(LINUX_5_15||LINUX_6_1):kmod-net-selftests
|
||||||
KCONFIG:=CONFIG_USB_NET_AX8817X
|
KCONFIG:=CONFIG_USB_NET_AX8817X
|
||||||
FILES:= \
|
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
|
||||||
$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko \
|
|
||||||
$(LINUX_DIR)/net/core/selftests.ko@ge5.13
|
|
||||||
AUTOLOAD:=$(call AutoProbe,asix)
|
AUTOLOAD:=$(call AutoProbe,asix)
|
||||||
$(call AddDepends/usb-net)
|
$(call AddDepends/usb-net)
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user