2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 VIDEO_MENU
:=Video Support
10 define KernelPackage
/video-core
11 SUBMENU
:=$(VIDEO_MENU
)
12 TITLE
=Video4Linux support
13 DEPENDS
:=@PCI_SUPPORT||USB_SUPPORT
17 CONFIG_VIDEO_CAPTURE_DRIVERS
=y \
18 CONFIG_V4L_USB_DRIVERS
=y
21 define KernelPackage
/video-core
/2.4
22 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/videodev.
$(LINUX_KMOD_SUFFIX
)
23 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
26 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.29)),1)
27 define KernelPackage
/video-core
/2.6
29 $(LINUX_DIR
)/drivers
/media
/video
/v4l2-common.
$(LINUX_KMOD_SUFFIX
) \
30 $(LINUX_DIR
)/drivers
/media
/video
/v4l1-compat.
$(LINUX_KMOD_SUFFIX
) \
31 $(LINUX_DIR
)/drivers
/media
/video
/videodev.
$(LINUX_KMOD_SUFFIX
)
32 AUTOLOAD
:=$(call AutoLoad
,60, \
39 define KernelPackage
/video-core
/2.6
41 $(LINUX_DIR
)/drivers
/media
/video
/v4l2-common.
$(LINUX_KMOD_SUFFIX
) \
42 $(LINUX_DIR
)/drivers
/media
/video
/v4l1-compat.
$(LINUX_KMOD_SUFFIX
) \
43 $(LINUX_DIR
)/drivers
/media
/video
/compat_ioctl32.
$(LINUX_KMOD_SUFFIX
) \
44 $(LINUX_DIR
)/drivers
/media
/video
/videodev.
$(LINUX_KMOD_SUFFIX
)
45 AUTOLOAD
:=$(call AutoLoad
,60, \
54 define KernelPackage
/video-core
/description
55 Kernel modules for Video4Linux support
58 $(eval
$(call KernelPackage
,video-core
))
61 define KernelPackage
/video-cpia2
62 SUBMENU
:=$(VIDEO_MENU
)
63 TITLE
:=CPIA2 video driver
64 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-core
+kmod-video-core
65 KCONFIG
:=CONFIG_VIDEO_CPIA2
66 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/cpia2
/cpia2.
$(LINUX_KMOD_SUFFIX
)
67 AUTOLOAD
:=$(call AutoLoad
,70,cpia2
)
70 define KernelPackage
/video-cpia2
/description
71 Kernel modules for supporting CPIA2 USB based cameras.
74 $(eval
$(call KernelPackage
,video-cpia2
))
77 define KernelPackage
/video-konica
78 SUBMENU
:=$(VIDEO_MENU
)
79 TITLE
:=Konica USB webcam support
80 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-video
+kmod-video-core
81 KCONFIG
:=CONFIG_USB_KONICAWC
82 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/usbvideo
/konicawc.
$(LINUX_KMOD_SUFFIX
)
83 AUTOLOAD
:=$(call AutoLoad
,70,konicawc
)
86 define KernelPackage
/video-konica
/description
87 Kernel support for webcams based on a Konica chipset. This is known to
88 work with the Intel YC76 webcam.
91 $(eval
$(call KernelPackage
,video-konica
))
94 define KernelPackage
/video-ov511
95 SUBMENU
:=$(VIDEO_MENU
)
96 TITLE
:=OV511 USB webcam support
97 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-core
+kmod-video-core
98 KCONFIG
:=CONFIG_VIDEO_OV511
99 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/ov511.
$(LINUX_KMOD_SUFFIX
)
100 AUTOLOAD
:=$(call AutoLoad
,70,ov511
)
104 define KernelPackage
/video-ov511
/description
105 Kernel modules for supporting OmniVision OV511 USB webcams.
108 $(eval
$(call KernelPackage
,video-ov511
))
111 define KernelPackage
/video-ovcamchip
112 SUBMENU
:=$(VIDEO_MENU
)
113 TITLE
:=OV6xxx
/OV7xxx Camera Chip support
114 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-i2c-core
+kmod-video-core
115 KCONFIG
:=CONFIG_VIDEO_OVCAMCHIP
116 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/ovcamchip
/ovcamchip.
$(LINUX_KMOD_SUFFIX
)
117 AUTOLOAD
:=$(call AutoLoad
,70,ovcamchip
)
121 define KernelPackage
/video-ovcamchip
/description
122 Kernel modules for supporting OmniVision OV6xxx and OV7xxx series of
126 $(eval
$(call KernelPackage
,video-ovcamchip
))
129 define KernelPackage
/video-sn9c102
130 SUBMENU
:=$(VIDEO_MENU
)
131 TITLE
:=SN9C102 Camera Chip support
132 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-core
+kmod-video-core
133 KCONFIG
:=CONFIG_USB_SN9C102
134 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/sn9c102
/sn9c102.
$(LINUX_KMOD_SUFFIX
)
135 AUTOLOAD
:=$(call AutoLoad
,70,sn9c102
)
139 define KernelPackage
/video-sn9c102
/description
140 Kernel modules for supporting SN9C102
144 $(eval
$(call KernelPackage
,video-sn9c102
))
147 define KernelPackage
/video-pwc
148 SUBMENU
:=$(VIDEO_MENU
)
149 TITLE
:=Philips USB webcam support
150 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-core
+kmod-video-core
153 CONFIG_USB_PWC_DEBUG
=n
154 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/pwc
/pwc.
$(LINUX_KMOD_SUFFIX
)
155 AUTOLOAD
:=$(call AutoLoad
,70,pwc
)
159 define KernelPackage
/video-pwc
/description
160 Kernel modules for supporting Philips USB based cameras.
163 $(eval
$(call KernelPackage
,video-pwc
))
165 define KernelPackage
/video-uvc
166 SUBMENU
:=$(VIDEO_MENU
)
167 TITLE
:=USB Video Class
(UVC
) support
168 DEPENDS
:=@LINUX_2_6 @
!LINUX_2_6_25 @
!LINUX_2_6_24 @
!LINUX_2_6_23 @USB_SUPPORT
+kmod-usb-core
+kmod-video-core
170 CONFIG_USB_VIDEO_CLASS \
171 CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV
=y
172 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/uvc
/uvcvideo.
$(LINUX_KMOD_SUFFIX
)
173 AUTOLOAD
:=$(call AutoLoad
,90,uvcvideo
)
177 define KernelPackage
/video-uvc
/description
178 Kernel modules for supporting USB Video Class
(UVC
) devices.
181 $(eval
$(call KernelPackage
,video-uvc
))