]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: fix kmod-switch-rtl8366-smi dependencies for econet target 24727/head
authorShiji Yang <yangshiji66@outlook.com>
Thu, 13 Aug 2026 23:21:54 +0000 (07:21 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 14 Aug 2026 16:53:23 +0000 (18:53 +0200)
Add missing dependent package kmod-of-mdio to fix build error:

Package kmod-switch-rtl8366-smi is missing dependencies for the following libraries:
of_mdio.ko

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/24727
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/linux/modules/netdevices.mk

index 29cc43da7816ea2020967e77447e9e980b1c3065..023af4d097467d4dea6cf8fc3dec8ded3947b85e 100644 (file)
@@ -1089,7 +1089,7 @@ $(eval $(call KernelPackage,switch-rtl8306))
 define KernelPackage/switch-rtl8366-smi
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Realtek RTL8366 SMI switch interface support
-  DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio
+  DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_econet||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio
   KCONFIG:=CONFIG_RTL8366_SMI
   FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
   AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi,1)