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 <lech.perczak@gmail.com>
This commit is contained in:
Lech Perczak 2024-01-11 22:45:05 +01:00 committed by Christian Marangi
parent 76b0d24157
commit 93cc4f784d
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -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