From: Petr Štetiar Date: Mon, 11 Apr 2022 15:36:55 +0000 (+0200) Subject: kernel: usb-net-smsc95xx: fix 5.15 dependency X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0225469dcdd7d2d3f9b69b2d0e2f1e0648aad15b;p=openwrt%2Fstaging%2F981213.git kernel: usb-net-smsc95xx: fix 5.15 dependency armvirt/64 when compiled with ALL_KMODS=y reports following: Package kmod-usb-net-smsc95xx is missing dependencies for the following libraries: libphy.ko Signed-off-by: Petr Štetiar --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index a52ba745ef..fd7ce412d0 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1266,7 +1266,7 @@ $(eval $(call KernelPackage,usb-net-smsc75xx)) define KernelPackage/usb-net-smsc95xx TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices - DEPENDS:=+LINUX_5_10:kmod-libphy + DEPENDS:=+(LINUX_5_10||LINUX_5_15):kmod-libphy KCONFIG:=CONFIG_USB_NET_SMSC95XX FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko AUTOLOAD:=$(call AutoProbe,smsc95xx)