[openwrt/openwrt] kernel: netdev: make kmod-of-mdio conflict with x86

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 18 13:42:59 BST 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7cea19c2ce1a416d5e06a4464a7b2c11903931f1

commit 7cea19c2ce1a416d5e06a4464a7b2c11903931f1
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Apr 17 01:27:09 2021 +0200

    kernel: netdev: make kmod-of-mdio conflict with x86
    
    CONFIG_MDIO_OF depends on CONFIG_OF which is not enabled for x86.
    
    Fixes builds of x86 with Kernel 5.10 due to unresolved dependencies.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 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 c9bdeb5a57..bc6ed2c7aa 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1006,7 +1006,7 @@ $(eval $(call KernelPackage,forcedeth))
 define KernelPackage/of-mdio
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=OpenFirmware MDIO support
-  DEPENDS:=+kmod-libphy
+  DEPENDS:=+kmod-libphy @!TARGET_x86
   KCONFIG:=CONFIG_OF_MDIO
   FILES:= \
 	$(LINUX_DIR)/drivers/net/phy/fixed_phy.ko \



More information about the lede-commits mailing list