From: Lech Perczak Date: Thu, 11 Jan 2024 21:45:05 +0000 (+0100) Subject: kernel: modules: video: fix kmod-imx-pxp build for 6.1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=93cc4f784df28fa820e91176f506fba5b59eae6f;p=openwrt%2Fstaging%2Fxback.git kernel: modules: video: fix kmod-imx-pxp build for 6.1 Location of the module file was changed between 5.15 and 6.1. Adapt the recipe for that. Signed-off-by: Lech Perczak --- diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 10da2ad3aa..7ff4a041ae 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -1165,7 +1165,8 @@ define KernelPackage/video-pxp TITLE:=i.MX PXP support DEPENDS:=@TARGET_imx +kmod-video-mem2mem +kmod-video-dma KCONFIG:= CONFIG_VIDEO_IMX_PXP - FILES:= $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/imx-pxp.ko + FILES:= $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/imx-pxp.ko@lt6.1 \ + $(LINUX_DIR)/drivers/media/platform/nxp/imx-pxp.ko@ge6.1 AUTOLOAD:=$(call AutoProbe,imx-pxp) $(call AddDepends/video) endef