From 964b82218057989d1143d04216d4dfe2a101d8dd Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 10 Sep 2022 18:21:39 +0100 Subject: [PATCH] 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 --- 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 f048b01d8b7..394180902d6 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)