[openwrt/openwrt] kernel: modules: netdevice: remove kmod-of-mdio dependency for kmod-stmmac-core

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 10 07:51:10 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/fe5fe3c8e708913afc9c1e50bf7347ef1304353c

commit fe5fe3c8e708913afc9c1e50bf7347ef1304353c
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Mon Jun 10 10:52:52 2024 +0200

    kernel: modules: netdevice: remove kmod-of-mdio dependency for kmod-stmmac-core
    
    The 'kmod-stmmac-core' package is referenced by the following packages:
    * kmod-dwmac-intel
    * kmod-dwmac-imx
    * kmod-dwmac-sun8i
    
    The problem is that 'kmod-of-mdio' is not selectable for 'TARGET_x86'.
    That means the package 'kmod-dwmac-intel' is not available on this
    architecture and so the package 'kmod-dwmac-intel' could not be enabled.
    
    To fix this remove the dependencies 'kmod-of-mdio' from 'kmod-stmmac-core'.
    This is not needed on this level, because the modules 'kmod-of-mdio' is
    already selected by the packages 'kmod-dwmac-imx' and 'kmod-dwmac-sun8i'.
    
    Signed-off-by: Florian Eckert <fe at dev.tdt.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 cf253ff9e0..06bae6a7ed 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1607,7 +1607,7 @@ $(eval $(call KernelPackage,pcs-xpcs))
 define KernelPackage/stmmac-core
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
-  DEPENDS:=@TARGET_x86_64||TARGET_armsr_armv8 +kmod-pcs-xpcs +LINUX_6_6:kmod-of-mdio +kmod-ptp
+  DEPENDS:=@TARGET_x86_64||TARGET_armsr_armv8 +kmod-pcs-xpcs +kmod-ptp
   KCONFIG:=CONFIG_STMMAC_ETH \
     CONFIG_STMMAC_SELFTESTS=n \
     CONFIG_STMMAC_PLATFORM \




More information about the lede-commits mailing list