kernel: netdev: make kmod-of-mdio conflict with x86
authorDavid Bauer <mail@david-bauer.net>
Fri, 16 Apr 2021 23:27:09 +0000 (01:27 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sun, 18 Apr 2021 12:40:55 +0000 (14:40 +0200)
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@david-bauer.net>
package/kernel/linux/modules/netdevices.mk

index c9bdeb5a570db09b3e92070e33838557b7f366ec..bc6ed2c7aa8f08490a031dfcd595de00db4735b1 100644 (file)
@@ -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 \