]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: fix kmod-mdio-gpio dependencies for econet target 24710/head
authorShiji Yang <yangshiji66@outlook.com>
Thu, 13 Aug 2026 14:19:20 +0000 (22:19 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 14 Aug 2026 08:58:23 +0000 (10:58 +0200)
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 <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/24710
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/linux/modules/netdevices.mk

index da9cd3940e0f219d7e79ce64392ea37d0ab6ceb2..29cc43da7816ea2020967e77447e9e980b1c3065 100644 (file)
@@ -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