[openwrt/openwrt] x86: amd-xgbe: add missing dependencies on 5.10

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 18 11:22:25 BST 2021


981213 pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/37958f0d115fe8e9f87091b0242efc2e9ac9c8bf

commit 37958f0d115fe8e9f87091b0242efc2e9ac9c8bf
Author: Chuanhong Guo <gch981213 at gmail.com>
AuthorDate: Sun Apr 18 18:05:08 2021 +0800

    x86: amd-xgbe: add missing dependencies on 5.10
    
    fix the following build error when building with test kernel:
    
    Package kmod-amd-xgbe is missing dependencies for the following libraries:
    mdio_devres.ko
    
    Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
---
 target/linux/x86/modules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk
index 41295d2d1f..d31e4535df 100644
--- a/target/linux/x86/modules.mk
+++ b/target/linux/x86/modules.mk
@@ -22,7 +22,7 @@ $(eval $(call KernelPackage,amazon-ena))
 define KernelPackage/amd-xgbe
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=AMD Ethernet on SoC support
-  DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy
+  DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +LINUX_5_10:kmod-mdio-devres
   KCONFIG:=CONFIG_AMD_XGBE
   FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/xgbe/amd-xgbe.ko
   AUTOLOAD:=$(call AutoLoad,35,amd-xgbe)



More information about the lede-commits mailing list