From: Hauke Mehrtens Date: Tue, 30 May 2023 20:04:20 +0000 (+0200) Subject: kernel: Make kmod-usb-net-smsc95xx depend on kmod-net-selftests X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0f6b8e65161a840c57d86dfb8fb61d018798c0a1;p=openwrt%2Fstaging%2Fxback.git kernel: Make kmod-usb-net-smsc95xx depend on kmod-net-selftests The smsc95xx driver got selftest support with kernel 5.18, add the new dependency fixing the all kernel modules build on MIPS malta with kernel 6.1. Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index f9b00fabd8..721e17f970 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1285,7 +1285,7 @@ $(eval $(call KernelPackage,usb-net-smsc75xx)) define KernelPackage/usb-net-smsc95xx TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices - DEPENDS:=+kmod-libphy +kmod-phy-smsc + DEPENDS:=+kmod-libphy +kmod-phy-smsc +LINUX_6_1:kmod-net-selftests KCONFIG:=CONFIG_USB_NET_SMSC95XX FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko AUTOLOAD:=$(call AutoProbe,smsc95xx)