aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/netdevices.mk
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2022-04-11 16:51:12 +0200
committerPetr Štetiar <ynezz@true.cz>2022-04-15 07:11:18 +0200
commit0fa0a19a607845d98946d9412ce2386bda03358a (patch)
tree372f4c0adb830421c7c27ef8a376c70d85021e7d /package/kernel/linux/modules/netdevices.mk
parentc7077313106625d1f44d3b5ae1b099012b999032 (diff)
downloadupstream-0fa0a19a607845d98946d9412ce2386bda03358a.tar.gz
upstream-0fa0a19a607845d98946d9412ce2386bda03358a.tar.bz2
upstream-0fa0a19a607845d98946d9412ce2386bda03358a.zip
kernel: mdio-devres: fix of-mdio dependency
armvirt/64 when compiled with ALL_KMODS=y reports following: Package kmod-mdio-devres is missing dependencies for the following libraries: of_mdio.ko Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r--package/kernel/linux/modules/netdevices.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 6576b6bae2..18fbf498dd 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -141,7 +141,7 @@ $(eval $(call KernelPackage,mii))
define KernelPackage/mdio-devres
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Supports MDIO device registration
- DEPENDS:=@(LINUX_5_10||LINUX_5_15) +kmod-libphy PACKAGE_kmod-of-mdio:kmod-of-mdio
+ DEPENDS:=@(LINUX_5_10||LINUX_5_15) +kmod-libphy +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_tegra):kmod-of-mdio
KCONFIG:=CONFIG_MDIO_DEVRES
HIDDEN:=1
FILES:=$(LINUX_DIR)/drivers/net/phy/mdio_devres.ko