[package] fix path to orinoco wireless modules (#5701)
[openwrt.git] / package / kernel / modules / video.mk
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 VIDEO_MENU:=Video Support
9
10 define KernelPackage/video-core
11 SUBMENU:=$(VIDEO_MENU)
12 TITLE=Video4Linux support
13 DEPENDS:=@PCI_SUPPORT||USB_SUPPORT
14 KCONFIG:= \
15 CONFIG_VIDEO_DEV \
16 CONFIG_VIDEO_V4L1=y \
17 CONFIG_VIDEO_CAPTURE_DRIVERS=y \
18 CONFIG_V4L_USB_DRIVERS=y
19 endef
20
21 define KernelPackage/video-core/2.4
22 FILES:=$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
23 AUTOLOAD:=$(call AutoLoad,60,videodev)
24 endef
25
26 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.29)),1)
27 define KernelPackage/video-core/2.6
28 FILES:= \
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, \
33 v4l1-compat \
34 videodev \
35 v4l2-common \
36 )
37 endef
38 else
39 define KernelPackage/video-core/2.6
40 FILES:= \
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, \
46 v4l1-compat \
47 videodev \
48 v4l2-common \
49 compat_ioctl32 \
50 )
51 endef
52 endif
53
54 define KernelPackage/video-core/description
55 Kernel modules for Video4Linux support
56 endef
57
58 $(eval $(call KernelPackage,video-core))
59
60
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)
68 endef
69
70 define KernelPackage/video-cpia2/description
71 Kernel modules for supporting CPIA2 USB based cameras.
72 endef
73
74 $(eval $(call KernelPackage,video-cpia2))
75
76
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)
84 endef
85
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.
89 endef
90
91 $(eval $(call KernelPackage,video-konica))
92
93
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)
101 endef
102
103
104 define KernelPackage/video-ov511/description
105 Kernel modules for supporting OmniVision OV511 USB webcams.
106 endef
107
108 $(eval $(call KernelPackage,video-ov511))
109
110
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)
118 endef
119
120
121 define KernelPackage/video-ovcamchip/description
122 Kernel modules for supporting OmniVision OV6xxx and OV7xxx series of
123 camera chips.
124 endef
125
126 $(eval $(call KernelPackage,video-ovcamchip))
127
128
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)
136 endef
137
138
139 define KernelPackage/video-sn9c102/description
140 Kernel modules for supporting SN9C102
141 camera chips.
142 endef
143
144 $(eval $(call KernelPackage,video-sn9c102))
145
146
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
151 KCONFIG:= \
152 CONFIG_USB_PWC \
153 CONFIG_USB_PWC_DEBUG=n
154 FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX)
155 AUTOLOAD:=$(call AutoLoad,70,pwc)
156 endef
157
158
159 define KernelPackage/video-pwc/description
160 Kernel modules for supporting Philips USB based cameras.
161 endef
162
163 $(eval $(call KernelPackage,video-pwc))
164
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
169 KCONFIG:= \
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)
174 endef
175
176
177 define KernelPackage/video-uvc/description
178 Kernel modules for supporting USB Video Class (UVC) devices.
179 endef
180
181 $(eval $(call KernelPackage,video-uvc))
This page took 0.042609 seconds and 5 git commands to generate.