From bee48059af013df4e3a0f95c8960e70ee8fb3fbb Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Thu, 13 Aug 2026 19:01:50 +0800 Subject: [PATCH] kernel: fix kmod-mdio-devres dependencies for econet target Add missing dependent package kmod-of-mdio to fix build error: Package kmod-mdio-devres is missing dependencies for the following libraries: of_mdio.ko Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/24710 Signed-off-by: Robert Marko (cherry picked from commit 943bfe441c10dd2821f5aec1c0258a13809f51d7) Link: https://github.com/openwrt/openwrt/pull/24703 Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netdevices.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 61a9c696b11..be88821ea03 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -201,7 +201,7 @@ $(eval $(call KernelPackage,mii)) define KernelPackage/mdio-devres SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Supports MDIO device registration - DEPENDS:=+kmod-libphy +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio + DEPENDS:=+kmod-libphy +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_econet||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio KCONFIG:=CONFIG_MDIO_DEVRES HIDDEN:=1 FILES:=$(LINUX_DIR)/drivers/net/phy/mdio_devres.ko