more cleanup
[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 define KernelPackage/video-core/2.6
27 FILES:= \
28 $(LINUX_DIR)/drivers/media/video/v4l2-common.$(LINUX_KMOD_SUFFIX) \
29 $(LINUX_DIR)/drivers/media/video/v4l1-compat.$(LINUX_KMOD_SUFFIX) \
30 $(LINUX_DIR)/drivers/media/video/compat_ioctl32.$(LINUX_KMOD_SUFFIX) \
31 $(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
32 AUTOLOAD:=$(call AutoLoad,60, \
33 v4l2-common \
34 v4l1-compat \
35 compat_ioctl32 \
36 videodev \
37 )
38 endef
39
40 define KernelPackage/video-core/description
41 Kernel modules for Video4Linux support
42 endef
43
44 $(eval $(call KernelPackage,video-core))
45
46
47 define KernelPackage/video-cpia2
48 SUBMENU:=$(VIDEO_MENU)
49 TITLE:=CPIA2 video driver
50 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
51 KCONFIG:=CONFIG_VIDEO_CPIA2
52 FILES:=$(LINUX_DIR)/drivers/media/video/cpia2/cpia2.$(LINUX_KMOD_SUFFIX)
53 AUTOLOAD:=$(call AutoLoad,70,cpia2)
54 endef
55
56 define KernelPackage/video-cpia2/description
57 Kernel modules for supporting CPIA2 USB based cameras.
58 endef
59
60 $(eval $(call KernelPackage,video-cpia2))
61
62
63 define KernelPackage/video-konica
64 SUBMENU:=$(VIDEO_MENU)
65 TITLE:=Konica USB webcam support
66 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-video +kmod-video-core
67 KCONFIG:=CONFIG_USB_KONICAWC
68 FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/konicawc.$(LINUX_KMOD_SUFFIX)
69 AUTOLOAD:=$(call AutoLoad,70,konicawc)
70 endef
71
72 define KernelPackage/video-konica/description
73 Kernel support for webcams based on a Konica chipset. This is known to
74 work with the Intel YC76 webcam.
75 endef
76
77 $(eval $(call KernelPackage,video-konica))
78
79
80 define KernelPackage/video-ov511
81 SUBMENU:=$(VIDEO_MENU)
82 TITLE:=OV511 USB webcam support
83 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
84 KCONFIG:=CONFIG_VIDEO_OV511
85 FILES:=$(LINUX_DIR)/drivers/media/video/ov511.$(LINUX_KMOD_SUFFIX)
86 AUTOLOAD:=$(call AutoLoad,70,ov511)
87 endef
88
89
90 define KernelPackage/video-ov511/description
91 Kernel modules for supporting OmniVision OV511 USB webcams.
92 endef
93
94 $(eval $(call KernelPackage,video-ov511))
95
96
97 define KernelPackage/video-ovcamchip
98 SUBMENU:=$(VIDEO_MENU)
99 TITLE:=OV6xxx/OV7xxx Camera Chip support
100 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-i2c-core +kmod-video-core
101 KCONFIG:=CONFIG_VIDEO_OVCAMCHIP
102 FILES:=$(LINUX_DIR)/drivers/media/video/ovcamchip/ovcamchip.$(LINUX_KMOD_SUFFIX)
103 AUTOLOAD:=$(call AutoLoad,70,ovcamchip)
104 endef
105
106
107 define KernelPackage/video-ovcamchip/description
108 Kernel modules for supporting OmniVision OV6xxx and OV7xxx series of
109 camera chips.
110 endef
111
112 $(eval $(call KernelPackage,video-ovcamchip))
113
114
115 define KernelPackage/video-pwc
116 SUBMENU:=$(VIDEO_MENU)
117 TITLE:=Philips USB webcam support
118 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core
119 KCONFIG:= \
120 CONFIG_USB_PWC \
121 CONFIG_USB_PWC_DEBUG=n
122 FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX)
123 AUTOLOAD:=$(call AutoLoad,70,pwc)
124 endef
125
126
127 define KernelPackage/video-pwc/description
128 Kernel modules for supporting Philips USB based cameras.
129 endef
130
131 $(eval $(call KernelPackage,video-pwc))
132
133 define KernelPackage/video-uvc
134 SUBMENU:=$(VIDEO_MENU)
135 TITLE:=USB Video Class (UVC) support
136 DEPENDS:=@LINUX_2_6 @!LINUX_2_6_25 @!LINUX_2_6_24 @!LINUX_2_6_23 @USB_SUPPORT +kmod-usb-core +kmod-video-core
137 KCONFIG:= \
138 CONFIG_USB_VIDEO_CLASS \
139 CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
140 FILES:=$(LINUX_DIR)/drivers/media/video/uvc/uvcvideo.$(LINUX_KMOD_SUFFIX)
141 AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
142 endef
143
144
145 define KernelPackage/video-uvc/description
146 Kernel modules for supporting USB Video Class (UVC) devices.
147 endef
148
149 $(eval $(call KernelPackage,video-uvc))
This page took 0.045647 seconds and 5 git commands to generate.