add kmod for 2.6.26+ in-kernel uvc video driver (#4637, thanks moh_de)
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 16 Feb 2009 04:30:48 +0000 (04:30 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 16 Feb 2009 04:30:48 +0000 (04:30 +0000)
SVN-Revision: 14526

package/kernel/modules/video.mk

index af0a57061529071145ba084bce31397b7ea9e2ef..086bbde91feba52ce0bbf3ac4e2b63cf9d05f99e 100644 (file)
@@ -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))