From 104cc834b11846685ec5a403b120680d185bb26b Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 16 Feb 2009 04:30:48 +0000 Subject: [PATCH] [package] add kmod for 2.6.26+ in-kernel uvc video driver (#4637, thanks moh_de) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14526 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/video.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/package/kernel/modules/video.mk b/package/kernel/modules/video.mk index af0a57061..086bbde91 100644 --- a/package/kernel/modules/video.mk +++ b/package/kernel/modules/video.mk @@ -131,3 +131,20 @@ endef $(eval $(call KernelPackage,video-pwc)) +define KernelPackage/video-uvc + SUBMENU:=$(VIDEO_MENU) + TITLE:=USB Video Class (UVC) support + DEPENDS:=@LINUX_2_6 @!LINUX_2_6_25 @!LINUX_2_6_24 @!LINUX_2_6_23 @USB_SUPPORT +kmod-usb-core +kmod-video-core + KCONFIG:= \ + CONFIG_USB_VIDEO_CLASS \ + CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y + FILES:=$(LINUX_DIR)/drivers/media/video/uvc/uvcvideo.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,90,uvcvideo) +endef + + +define KernelPackage/video-uvc/description + Kernel modules for supporting USB Video Class (UVC) devices. +endef + +$(eval $(call KernelPackage,video-uvc))