From ab1693f58a2363f88bebfcfaec0b52ec2bbf19db Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Thu, 13 Aug 2026 22:19:20 +0800 Subject: [PATCH] kernel: fix kmod-mdio-gpio dependencies for econet target Add missing dependent package kmod-of-mdio to fix build error: Package kmod-mdio-gpio 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 --- 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 da9cd3940e0..29cc43da781 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -254,7 +254,7 @@ $(eval $(call KernelPackage,mdio-devres)) define KernelPackage/mdio-gpio SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:= Supports GPIO lib-based MDIO busses - DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio + DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_econet||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio KCONFIG:= \ CONFIG_MDIO_BITBANG \ CONFIG_MDIO_GPIO -- 2.47.3