[openwrt/openwrt] kernel: fix Aquantia AQtion Atlantic module dependencies

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 10 10:23:41 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/964b82218057989d1143d04216d4dfe2a101d8dd

commit 964b82218057989d1143d04216d4dfe2a101d8dd
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Sep 10 18:21:39 2022 +0100

    kernel: fix Aquantia AQtion Atlantic module dependencies
    
    The buildbot revealed that
    Package kmod-atlantic is missing dependencies for the following libraries:
    hwmon.ko
    macsec.ko
    make[2]: *** [modules/netdevices.mk:1474: /builder/shared-workdir/build/bin/targets/mediatek/mt7629/packages/kmod-atlantic_5.15.67-1_arm_cortex-a7.ipk] Error 1
    make[2]: Leaving directory '/builder/shared-workdir/build/package/kernel/linux'
    time: package/kernel/linux/compile#43.51#17.03#415.37
        ERROR: package/kernel/linux failed to build.
    make[1]: *** [package/Makefile:116: package/kernel/linux/compile] Error 1
    make[1]: *** Waiting for unfinished jobs....
    
    Add those missing dependencies to fix the build.
    
    Fixes: d02e887d7c ("kernel: add Aquantia AQtion Atlantic 10Gbps Ethernet")
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 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 f048b01d8b..394180902d 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1461,7 +1461,7 @@ $(eval $(call KernelPackage,mhi-wwan-mbim))
 define KernelPackage/atlantic
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Aquantia AQtion 10Gbps Ethernet NIC
-  DEPENDS:=@PCI_SUPPORT +kmod-ptp
+  DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-hwmon-core +kmod-macsec
   KCONFIG:=CONFIG_AQTION
   FILES:=$(LINUX_DIR)/drivers/net/ethernet/aquantia/atlantic/atlantic.ko
   AUTOLOAD:=$(call AutoProbe,atlantic)




More information about the lede-commits mailing list