add compat 'PROVIDES' for renamed kernel modules
[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-pwc
65 SUBMENU:=$(VIDEO_MENU)
66 TITLE:=Philips USB webcam support
67 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
68 KCONFIG:= \
69 CONFIG_USB_PWC \
70 CONFIG_USB_PWC_DEBUG=n
71 FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX)
72 AUTOLOAD:=$(call AutoLoad,70,pwc)
73 endef
74
75
76 define KernelPackage/video-pwc/description
77 Kernel modules for supporting Philips USB based cameras.
78 endef
79
80 $(eval $(call KernelPackage,video-pwc))
81
This page took 0.042002 seconds and 5 git commands to generate.