also ignore env directory
[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-pwc
130 SUBMENU:=$(VIDEO_MENU)
131 TITLE:=Philips USB webcam support
132 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
133 KCONFIG:= \
134 CONFIG_USB_PWC \
135 CONFIG_USB_PWC_DEBUG=n
136 FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX)
137 AUTOLOAD:=$(call AutoLoad,70,pwc)
138 endef
139
140
141 define KernelPackage/video-pwc/description
142 Kernel modules for supporting Philips USB based cameras.
143 endef
144
145 $(eval $(call KernelPackage,video-pwc))
146
147 define KernelPackage/video-uvc
148 SUBMENU:=$(VIDEO_MENU)
149 TITLE:=USB Video Class (UVC) support
150 DEPENDS:=@LINUX_2_6 @!LINUX_2_6_25 @!LINUX_2_6_24 @!LINUX_2_6_23 @USB_SUPPORT +kmod-usb-core +kmod-video-core
151 KCONFIG:= \
152 CONFIG_USB_VIDEO_CLASS \
153 CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
154 FILES:=$(LINUX_DIR)/drivers/media/video/uvc/uvcvideo.$(LINUX_KMOD_SUFFIX)
155 AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
156 endef
157
158
159 define KernelPackage/video-uvc/description
160 Kernel modules for supporting USB Video Class (UVC) devices.
161 endef
162
163 $(eval $(call KernelPackage,video-uvc))
This page took 0.050066 seconds and 5 git commands to generate.