fix ext3 compile (broken by [9822])
[openwrt.git] / package / kernel / modules / video.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 VIDEO_MENU:=Video Support
10
11 define KernelPackage/video-core
12 SUBMENU:=$(VIDEO_MENU)
13 TITLE=Video4Linux support
14 DEPENDS:= @!TARGET_uml
15 KCONFIG:= \
16 CONFIG_VIDEO_DEV \
17 CONFIG_VIDEO_V4L1=y \
18 CONFIG_VIDEO_CAPTURE_DRIVERS=y \
19 CONFIG_V4L_USB_DRIVERS=y
20 endef
21
22 define KernelPackage/video-core/2.4
23 FILES:=$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
24 AUTOLOAD:=$(call AutoLoad,60,videodev)
25 endef
26
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/compat_ioctl32.$(LINUX_KMOD_SUFFIX) \
32 $(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
33 AUTOLOAD:=$(call AutoLoad,60, \
34 v4l2-common \
35 v4l1-compat \
36 compat_ioctl32 \
37 videodev \
38 )
39 endef
40
41 define KernelPackage/video-core/description
42 Kernel modules for Video4Linux support
43 endef
44
45 $(eval $(call KernelPackage,video-core))
46
47
48 define KernelPackage/video-cpia2
49 SUBMENU:=$(VIDEO_MENU)
50 TITLE:=CPIA2 video driver
51 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
52 KCONFIG:=CONFIG_VIDEO_CPIA2
53 FILES:=$(LINUX_DIR)/drivers/media/video/cpia2/cpia2.$(LINUX_KMOD_SUFFIX)
54 AUTOLOAD:=$(call AutoLoad,70,cpia2)
55 endef
56
57 define KernelPackage/video-cpia2/description
58 Kernel modules for supporting CPIA2 USB based cameras.
59 endef
60
61 $(eval $(call KernelPackage,video-cpia2))
62
63
64 define KernelPackage/video-konica
65 SUBMENU:=$(VIDEO_MENU)
66 TITLE:=Konica USB webcam support
67 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-video kmod-video-core
68 KCONFIG:=CONFIG_USB_KONICAWC
69 FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/konicawc.$(LINUX_KMOD_SUFFIX)
70 AUTOLOAD:=$(call AutoLoad,70,konicawc)
71 endef
72
73 define KernelPackage/video-konica/description
74 Kernel support for webcams based on a Konica chipset. This is known to
75 work with the Intel YC76 webcam.
76 endef
77
78 $(eval $(call KernelPackage,video-konica))
79
80
81 define KernelPackage/video-ov511
82 SUBMENU:=$(VIDEO_MENU)
83 TITLE:=OV511 USB webcam support
84 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
85 KCONFIG:=CONFIG_VIDEO_OV511
86 FILES:=$(LINUX_DIR)/drivers/media/video/ov511.$(LINUX_KMOD_SUFFIX)
87 AUTOLOAD:=$(call AutoLoad,70,ov511)
88 endef
89
90
91 define KernelPackage/video-ov511/description
92 Kernel modules for supporting OmniVision OV511 USB webcams.
93 endef
94
95 $(eval $(call KernelPackage,video-ov511))
96
97
98 define KernelPackage/video-ovcamchip
99 SUBMENU:=$(VIDEO_MENU)
100 TITLE:=OV6xxx/OV7xxx Camera Chip support
101 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-i2c-core kmod-video-core
102 KCONFIG:=CONFIG_VIDEO_OVCAMCHIP
103 FILES:=$(LINUX_DIR)/drivers/media/video/ovcamchip/ovcamchip.$(LINUX_KMOD_SUFFIX)
104 AUTOLOAD:=$(call AutoLoad,70,ovcamchip)
105 endef
106
107
108 define KernelPackage/video-ovcamchip/description
109 Kernel modules for supporting OmniVision OV6xxx and OV7xxx series of
110 camera chips.
111 endef
112
113 $(eval $(call KernelPackage,video-ovcamchip))
114
115
116 define KernelPackage/video-pwc
117 SUBMENU:=$(VIDEO_MENU)
118 TITLE:=Philips USB webcam support
119 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
120 KCONFIG:= \
121 CONFIG_USB_PWC \
122 CONFIG_USB_PWC_DEBUG=n
123 FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX)
124 AUTOLOAD:=$(call AutoLoad,70,pwc)
125 endef
126
127
128 define KernelPackage/video-pwc/description
129 Kernel modules for supporting Philips USB based cameras.
130 endef
131
132 $(eval $(call KernelPackage,video-pwc))
133
This page took 0.06542 seconds and 5 git commands to generate.