From: Hauke Mehrtens Date: Sun, 7 Aug 2022 10:35:49 +0000 (+0200) Subject: kernel: kmod-mdio-devres: Add kmod-of-mdio dependency for malta X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=16caa19c8c72216f0041131e6300290463562c44;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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