[openwrt/openwrt] kernel: kmod-mdio-devres: Add kmod-of-mdio dependency for malta

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 10 15:52:01 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/16caa19c8c72216f0041131e6300290463562c44

commit 16caa19c8c72216f0041131e6300290463562c44
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Aug 7 12:35:49 2022 +0200

    kernel: kmod-mdio-devres: Add kmod-of-mdio dependency for malta
    
    The malta target does not compile CONFIG_OF_MDIO into the kernel. On
    malta the kmod-mdio-devres package depends on kmod-of-mdio.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 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 7e21c0118c..50a72f8dd3 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:=+kmod-libphy +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_tegra):kmod-of-mdio
+  DEPENDS:=+kmod-libphy +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_malta||TARGET_tegra):kmod-of-mdio
   KCONFIG:=CONFIG_MDIO_DEVRES
   HIDDEN:=1
   FILES:=$(LINUX_DIR)/drivers/net/phy/mdio_devres.ko




More information about the lede-commits mailing list