From: Nick Hainke Date: Sun, 12 Apr 2026 11:23:15 +0000 (+0200) Subject: kernel: other: fix ptp-qoriq build with Linux >= 6.18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67f2eafadf22e5363a692afa30c2b5a80718af96;p=thirdparty%2Fopenwrt.git kernel: other: fix ptp-qoriq build with Linux >= 6.18 Linux renamed ptp-qoriq.ko to ptp_qoriq.ko in 6.18. Link: https://github.com/openwrt/openwrt/pull/22732 Signed-off-by: Nick Hainke --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 35d7c76aef9..25c890cae00 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -862,7 +862,8 @@ define KernelPackage/ptp-qoriq TITLE:=Freescale QorIQ PTP support DEPENDS:=@(TARGET_mpc85xx||TARGET_qoriq) +kmod-ptp KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ - FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko + FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko@lt6.18 \ + $(LINUX_DIR)/drivers/ptp/ptp_qoriq.ko@ge6.18 AUTOLOAD:=$(call AutoProbe,ptp-qoriq) endef