diff --git a/package/kernel/linux/modules/multimedia.mk b/package/kernel/linux/modules/multimedia.mk index 13cff0779fccfc..d47f5ebb5bb702 100644 --- a/package/kernel/linux/modules/multimedia.mk +++ b/package/kernel/linux/modules/multimedia.mk @@ -1,8 +1,5 @@ MMEDIA_MENU:=Multimedia -V4L2_DIR=v4l2-core -V4L2_USB_DIR=usb - # # Video Capture # @@ -18,7 +15,7 @@ define KernelPackage/video-core CONFIG_V4L_PLATFORM_DRIVERS=y \ CONFIG_MEDIA_PLATFORM_DRIVERS=y FILES:= \ - $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko + $(LINUX_DIR)/drivers/media/v4l2-core/videodev.ko AUTOLOAD:=$(call AutoLoad,60,videodev) endef @@ -73,7 +70,7 @@ define KernelPackage/video-cpia2 TITLE:=CPIA2 video driver DEPENDS:=@USB_SUPPORT KCONFIG:=CONFIG_VIDEO_CPIA2 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/cpia2/cpia2.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/cpia2/cpia2.ko AUTOLOAD:=$(call AutoProbe,cpia2) $(call AddDepends/camera) endef @@ -91,7 +88,7 @@ define KernelPackage/video-pwc KCONFIG:= \ CONFIG_USB_PWC \ CONFIG_USB_PWC_DEBUG=n - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/pwc/pwc.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/pwc/pwc.ko AUTOLOAD:=$(call AutoProbe,pwc) $(call AddDepends/camera) endef @@ -107,7 +104,7 @@ define KernelPackage/video-uvc TITLE:=USB Video Class (UVC) support DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2 +kmod-input-core KCONFIG:= CONFIG_USB_VIDEO_CLASS CONFIG_UVC_COMMON - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/uvc/uvcvideo.ko \ + FILES:=$(LINUX_DIR)/drivers/media/usb/uvc/uvcvideo.ko \ $(LINUX_DIR)/drivers/media/common/uvc.ko AUTOLOAD:=$(call AutoProbe,uvc uvcvideo) $(call AddDepends/camera) @@ -125,7 +122,7 @@ define KernelPackage/video-gspca-core TITLE:=GSPCA webcam core support framework DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-input-core +kmod-video-videobuf2 KCONFIG:=CONFIG_USB_GSPCA - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_main.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_main.ko AUTOLOAD:=$(call AutoProbe,gspca_main) $(call AddDepends/camera) endef @@ -147,7 +144,7 @@ endef define KernelPackage/video-gspca-conex TITLE:=conex webcam support KCONFIG:=CONFIG_USB_GSPCA_CONEX - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_conex.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_conex.ko AUTOLOAD:=$(call AutoProbe,gspca_conex) $(call AddDepends/camera-gspca) endef @@ -162,7 +159,7 @@ $(eval $(call KernelPackage,video-gspca-conex)) define KernelPackage/video-gspca-etoms TITLE:=etoms webcam support KCONFIG:=CONFIG_USB_GSPCA_ETOMS - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_etoms.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_etoms.ko AUTOLOAD:=$(call AutoProbe,gspca_etoms) $(call AddDepends/camera-gspca) endef @@ -177,7 +174,7 @@ $(eval $(call KernelPackage,video-gspca-etoms)) define KernelPackage/video-gspca-finepix TITLE:=finepix webcam support KCONFIG:=CONFIG_USB_GSPCA_FINEPIX - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_finepix.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_finepix.ko AUTOLOAD:=$(call AutoProbe,gspca_finepix) $(call AddDepends/camera-gspca) endef @@ -192,7 +189,7 @@ $(eval $(call KernelPackage,video-gspca-finepix)) define KernelPackage/video-gspca-mars TITLE:=mars webcam support KCONFIG:=CONFIG_USB_GSPCA_MARS - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_mars.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_mars.ko AUTOLOAD:=$(call AutoProbe,gspca_mars) $(call AddDepends/camera-gspca) endef @@ -207,7 +204,7 @@ $(eval $(call KernelPackage,video-gspca-mars)) define KernelPackage/video-gspca-mr97310a TITLE:=mr97310a webcam support KCONFIG:=CONFIG_USB_GSPCA_MR97310A - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_mr97310a.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_mr97310a.ko AUTOLOAD:=$(call AutoProbe,gspca_mr97310a) $(call AddDepends/camera-gspca) endef @@ -222,7 +219,7 @@ $(eval $(call KernelPackage,video-gspca-mr97310a)) define KernelPackage/video-gspca-ov519 TITLE:=ov519 webcam support KCONFIG:=CONFIG_USB_GSPCA_OV519 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov519.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_ov519.ko AUTOLOAD:=$(call AutoProbe,gspca_ov519) $(call AddDepends/camera-gspca) endef @@ -237,7 +234,7 @@ $(eval $(call KernelPackage,video-gspca-ov519)) define KernelPackage/video-gspca-ov534 TITLE:=ov534 webcam support KCONFIG:=CONFIG_USB_GSPCA_OV534 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_ov534.ko AUTOLOAD:=$(call AutoProbe,gspca_ov534) $(call AddDepends/camera-gspca) endef @@ -252,7 +249,7 @@ $(eval $(call KernelPackage,video-gspca-ov534)) define KernelPackage/video-gspca-ov534-9 TITLE:=ov534-9 webcam support KCONFIG:=CONFIG_USB_GSPCA_OV534_9 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534_9.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_ov534_9.ko AUTOLOAD:=$(call AutoProbe,gspca_ov534_9) $(call AddDepends/camera-gspca) endef @@ -267,7 +264,7 @@ $(eval $(call KernelPackage,video-gspca-ov534-9)) define KernelPackage/video-gspca-pac207 TITLE:=pac207 webcam support KCONFIG:=CONFIG_USB_GSPCA_PAC207 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac207.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_pac207.ko AUTOLOAD:=$(call AutoProbe,gspca_pac207) $(call AddDepends/camera-gspca) endef @@ -282,7 +279,7 @@ $(eval $(call KernelPackage,video-gspca-pac207)) define KernelPackage/video-gspca-pac7302 TITLE:=pac7302 webcam support KCONFIG:=CONFIG_USB_GSPCA_PAC7302 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac7302.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_pac7302.ko AUTOLOAD:=$(call AutoProbe,gspca_pac7302) $(call AddDepends/camera-gspca) endef @@ -297,7 +294,7 @@ $(eval $(call KernelPackage,video-gspca-pac7302)) define KernelPackage/video-gspca-pac7311 TITLE:=pac7311 webcam support KCONFIG:=CONFIG_USB_GSPCA_PAC7311 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac7311.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_pac7311.ko AUTOLOAD:=$(call AutoProbe,gspca_pac7311) $(call AddDepends/camera-gspca) endef @@ -312,7 +309,7 @@ $(eval $(call KernelPackage,video-gspca-pac7311)) define KernelPackage/video-gspca-se401 TITLE:=se401 webcam support KCONFIG:=CONFIG_USB_GSPCA_SE401 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_se401.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_se401.ko AUTOLOAD:=$(call AutoProbe,gspca_se401) $(call AddDepends/camera-gspca) endef @@ -327,7 +324,7 @@ $(eval $(call KernelPackage,video-gspca-se401)) define KernelPackage/video-gspca-sn9c20x TITLE:=sn9c20x webcam support KCONFIG:=CONFIG_USB_GSPCA_SN9C20X - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sn9c20x.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_sn9c20x.ko AUTOLOAD:=$(call AutoProbe,gspca_sn9c20x) $(call AddDepends/camera-gspca) endef @@ -342,7 +339,7 @@ $(eval $(call KernelPackage,video-gspca-sn9c20x)) define KernelPackage/video-gspca-sonixb TITLE:=sonixb webcam support KCONFIG:=CONFIG_USB_GSPCA_SONIXB - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixb.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_sonixb.ko AUTOLOAD:=$(call AutoProbe,gspca_sonixb) $(call AddDepends/camera-gspca) endef @@ -357,7 +354,7 @@ $(eval $(call KernelPackage,video-gspca-sonixb)) define KernelPackage/video-gspca-sonixj TITLE:=sonixj webcam support KCONFIG:=CONFIG_USB_GSPCA_SONIXJ - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixj.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_sonixj.ko AUTOLOAD:=$(call AutoProbe,gspca_sonixj) $(call AddDepends/camera-gspca) endef @@ -372,7 +369,7 @@ $(eval $(call KernelPackage,video-gspca-sonixj)) define KernelPackage/video-gspca-spca500 TITLE:=spca500 webcam support KCONFIG:=CONFIG_USB_GSPCA_SPCA500 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca500.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_spca500.ko AUTOLOAD:=$(call AutoProbe,gspca_spca500) $(call AddDepends/camera-gspca) endef @@ -387,7 +384,7 @@ $(eval $(call KernelPackage,video-gspca-spca500)) define KernelPackage/video-gspca-spca501 TITLE:=spca501 webcam support KCONFIG:=CONFIG_USB_GSPCA_SPCA501 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca501.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_spca501.ko AUTOLOAD:=$(call AutoProbe,gspca_spca501) $(call AddDepends/camera-gspca) endef @@ -402,7 +399,7 @@ $(eval $(call KernelPackage,video-gspca-spca501)) define KernelPackage/video-gspca-spca505 TITLE:=spca505 webcam support KCONFIG:=CONFIG_USB_GSPCA_SPCA505 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca505.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_spca505.ko AUTOLOAD:=$(call AutoProbe,gspca_spca505) $(call AddDepends/camera-gspca) endef @@ -417,7 +414,7 @@ $(eval $(call KernelPackage,video-gspca-spca505)) define KernelPackage/video-gspca-spca506 TITLE:=spca506 webcam support KCONFIG:=CONFIG_USB_GSPCA_SPCA506 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca506.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_spca506.ko AUTOLOAD:=$(call AutoProbe,gspca_spca506) $(call AddDepends/camera-gspca) endef @@ -432,7 +429,7 @@ $(eval $(call KernelPackage,video-gspca-spca506)) define KernelPackage/video-gspca-spca508 TITLE:=spca508 webcam support KCONFIG:=CONFIG_USB_GSPCA_SPCA508 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca508.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_spca508.ko AUTOLOAD:=$(call AutoProbe,gspca_spca508) $(call AddDepends/camera-gspca) endef @@ -447,7 +444,7 @@ $(eval $(call KernelPackage,video-gspca-spca508)) define KernelPackage/video-gspca-spca561 TITLE:=spca561 webcam support KCONFIG:=CONFIG_USB_GSPCA_SPCA561 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca561.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_spca561.ko AUTOLOAD:=$(call AutoProbe,gspca_spca561) $(call AddDepends/camera-gspca) endef @@ -462,7 +459,7 @@ $(eval $(call KernelPackage,video-gspca-spca561)) define KernelPackage/video-gspca-sq905 TITLE:=sq905 webcam support KCONFIG:=CONFIG_USB_GSPCA_SQ905 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_sq905.ko AUTOLOAD:=$(call AutoProbe,gspca_sq905) $(call AddDepends/camera-gspca) endef @@ -477,7 +474,7 @@ $(eval $(call KernelPackage,video-gspca-sq905)) define KernelPackage/video-gspca-sq905c TITLE:=sq905c webcam support KCONFIG:=CONFIG_USB_GSPCA_SQ905C - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905c.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_sq905c.ko AUTOLOAD:=$(call AutoProbe,gspca_sq905c) $(call AddDepends/camera-gspca) endef @@ -492,7 +489,7 @@ $(eval $(call KernelPackage,video-gspca-sq905c)) define KernelPackage/video-gspca-sq930x TITLE:=sq930x webcam support KCONFIG:=CONFIG_USB_GSPCA_SQ930X - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq930x.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_sq930x.ko AUTOLOAD:=$(call AutoProbe,gspca_sq930x) $(call AddDepends/camera-gspca) endef @@ -507,7 +504,7 @@ $(eval $(call KernelPackage,video-gspca-sq930x)) define KernelPackage/video-gspca-stk014 TITLE:=stk014 webcam support KCONFIG:=CONFIG_USB_GSPCA_STK014 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_stk014.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_stk014.ko AUTOLOAD:=$(call AutoProbe,gspca_stk014) $(call AddDepends/camera-gspca) endef @@ -522,7 +519,7 @@ $(eval $(call KernelPackage,video-gspca-stk014)) define KernelPackage/video-gspca-sunplus TITLE:=sunplus webcam support KCONFIG:=CONFIG_USB_GSPCA_SUNPLUS - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sunplus.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_sunplus.ko AUTOLOAD:=$(call AutoProbe,gspca_sunplus) $(call AddDepends/camera-gspca) endef @@ -537,7 +534,7 @@ $(eval $(call KernelPackage,video-gspca-sunplus)) define KernelPackage/video-gspca-t613 TITLE:=t613 webcam support KCONFIG:=CONFIG_USB_GSPCA_T613 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_t613.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_t613.ko AUTOLOAD:=$(call AutoProbe,gspca_t613) $(call AddDepends/camera-gspca) endef @@ -552,7 +549,7 @@ $(eval $(call KernelPackage,video-gspca-t613)) define KernelPackage/video-gspca-tv8532 TITLE:=tv8532 webcam support KCONFIG:=CONFIG_USB_GSPCA_TV8532 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_tv8532.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_tv8532.ko AUTOLOAD:=$(call AutoProbe,gspca_tv8532) $(call AddDepends/camera-gspca) endef @@ -567,7 +564,7 @@ $(eval $(call KernelPackage,video-gspca-tv8532)) define KernelPackage/video-gspca-vc032x TITLE:=vc032x webcam support KCONFIG:=CONFIG_USB_GSPCA_VC032X - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_vc032x.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_vc032x.ko AUTOLOAD:=$(call AutoProbe,gspca_vc032x) $(call AddDepends/camera-gspca) endef @@ -582,7 +579,7 @@ $(eval $(call KernelPackage,video-gspca-vc032x)) define KernelPackage/video-gspca-zc3xx TITLE:=zc3xx webcam support KCONFIG:=CONFIG_USB_GSPCA_ZC3XX - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_zc3xx.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_zc3xx.ko AUTOLOAD:=$(call AutoProbe,gspca_zc3xx) $(call AddDepends/camera-gspca) endef @@ -597,7 +594,7 @@ $(eval $(call KernelPackage,video-gspca-zc3xx)) define KernelPackage/video-gspca-m5602 TITLE:=m5602 webcam support KCONFIG:=CONFIG_USB_M5602 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/m5602/gspca_m5602.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/m5602/gspca_m5602.ko AUTOLOAD:=$(call AutoProbe,gspca_m5602) $(call AddDepends/camera-gspca) endef @@ -612,7 +609,7 @@ $(eval $(call KernelPackage,video-gspca-m5602)) define KernelPackage/video-gspca-stv06xx TITLE:=stv06xx webcam support KCONFIG:=CONFIG_USB_STV06XX - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/stv06xx/gspca_stv06xx.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/stv06xx/gspca_stv06xx.ko AUTOLOAD:=$(call AutoProbe,gspca_stv06xx) $(call AddDepends/camera-gspca) endef @@ -627,7 +624,7 @@ $(eval $(call KernelPackage,video-gspca-stv06xx)) define KernelPackage/video-gspca-gl860 TITLE:=gl860 webcam support KCONFIG:=CONFIG_USB_GL860 - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gl860/gspca_gl860.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gl860/gspca_gl860.ko AUTOLOAD:=$(call AutoProbe,gspca_gl860) $(call AddDepends/camera-gspca) endef @@ -642,7 +639,7 @@ $(eval $(call KernelPackage,video-gspca-gl860)) define KernelPackage/video-gspca-jeilinj TITLE:=jeilinj webcam support KCONFIG:=CONFIG_USB_GSPCA_JEILINJ - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_jeilinj.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_jeilinj.ko AUTOLOAD:=$(call AutoProbe,gspca_jeilinj) $(call AddDepends/camera-gspca) endef @@ -657,7 +654,7 @@ $(eval $(call KernelPackage,video-gspca-jeilinj)) define KernelPackage/video-gspca-konica TITLE:=konica webcam support KCONFIG:=CONFIG_USB_GSPCA_KONICA - FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_konica.ko + FILES:=$(LINUX_DIR)/drivers/media/usb/gspca/gspca_konica.ko AUTOLOAD:=$(call AutoProbe,gspca_konica) $(call AddDepends/camera-gspca) endef diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index e2c984b75a5f44..a9f62d8927053c 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -8,9 +8,6 @@ VIDEO_MENU:=Video Support -V4L2_DIR=v4l2-core -V4L2_MEM2MEM_DIR=platform - # # Video Display # @@ -512,7 +509,7 @@ define KernelPackage/video-mem2mem KCONFIG:= \ CONFIG_V4L_MEM2MEM_DRIVERS=y \ CONFIG_V4L2_MEM2MEM_DEV - FILES:= $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-mem2mem.ko + FILES:= $(LINUX_DIR)/drivers/media/v4l2-core/v4l2-mem2mem.ko AUTOLOAD:=$(call AutoLoad,66,v4l2-mem2mem) $(call AddDepends/video) endef @@ -562,12 +559,12 @@ define KernelPackage/video-coda TITLE:=i.MX VPU support DEPENDS:=@(TARGET_imx&&TARGET_imx_cortexa9) +kmod-video-mem2mem +kmod-video-dma-contig KCONFIG:= \ - CONFIG_VIDEO_CODA \ - CONFIG_VIDEO_IMX_VDOA + CONFIG_VIDEO_CODA \ + CONFIG_VIDEO_IMX_VDOA FILES:= \ - $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/chips-media/coda-vpu.ko \ - $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/chips-media/imx-vdoa.ko \ - $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-jpeg.ko + $(LINUX_DIR)/drivers/media/platform/chips-media/coda-vpu.ko \ + $(LINUX_DIR)/drivers/media/platform/chips-media/imx-vdoa.ko \ + $(LINUX_DIR)/drivers/media/v4l2-core/v4l2-jpeg.ko AUTOLOAD:=$(call AutoProbe,coda-vpu imx-vdoa v4l2-jpeg) $(call AddDepends/video) endef