From: Philip Prindeville Date: Sun, 26 Apr 2026 01:40:59 +0000 (-0600) Subject: modules: amazon-ena: fix ptp dependency X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=793ceff1494e7dea8503699f3e5bf48dacccd7c4;p=thirdparty%2Fopenwrt.git modules: amazon-ena: fix ptp dependency Going from 6.12 to 6.18 I see breakage with a missing dependency that drivers/net/ethernet/amazon/ena/ena_netdev.c has on ptp.ko. Signed-off-by: Philip Prindeville Link: https://github.com/openwrt/openwrt/pull/23098 Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index d5106e42038..0d62534535c 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -2475,7 +2475,7 @@ $(eval $(call KernelPackage,lan743x)) define KernelPackage/amazon-ena SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Elastic Network Adapter (for Amazon AWS) - DEPENDS:=@TARGET_x86_64||TARGET_armsr + DEPENDS:=@TARGET_x86_64||TARGET_armsr +LINUX_6_18:kmod-ptp KCONFIG:=CONFIG_ENA_ETHERNET FILES:=$(LINUX_DIR)/drivers/net/ethernet/amazon/ena/ena.ko AUTOLOAD:=$(call AutoLoad,12,ena)