source: trunk/package/kernel/modules/video.mk @ 8856

Last change on this file since 8856 was 8856, checked in by nico, 9 years ago

video modules changes: change dependency on kmod-video-core from select to depends, cleanup

File size: 2.0 KB
Line 
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
9VIDEO_MENU:=Video Support
10
11define KernelPackage/video-core
12  SUBMENU:=$(VIDEO_MENU)
13  TITLE=Video4Linux support
14  KCONFIG:= \
15        CONFIG_VIDEO_DEV \
16        CONFIG_VIDEO_V4L1=y \
17        CONFIG_VIDEO_CAPTURE_DRIVERS=y \
18        CONFIG_V4L_USB_DRIVERS=y
19endef
20
21define KernelPackage/video-core/2.4
22  FILES:=$(LINUX_DIR)/drivers/media/video/videodev.$(LINUX_KMOD_SUFFIX)
23  AUTOLOAD:=$(call AutoLoad,60,videodev)
24endef
25
26define 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  )
38endef
39
40define KernelPackage/video-core/description
41 Kernel modules for Video4Linux support
42endef
43
44$(eval $(call KernelPackage,video-core))
45
46
47define 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)
54endef
55
56define KernelPackage/video-cpia2/description
57 Kernel modules for supporting CPIA2 USB based cameras.
58endef
59
60$(eval $(call KernelPackage,video-cpia2))
61
62
63define KernelPackage/video-pwc
64  SUBMENU:=$(VIDEO_MENU)
65  TITLE:=Philips USB webcam support
66  DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
67  KCONFIG:= \
68        CONFIG_USB_PWC \
69        CONFIG_USB_PWC_DEBUG=n
70  FILES:=$(LINUX_DIR)/drivers/media/video/pwc/pwc.$(LINUX_KMOD_SUFFIX)
71  AUTOLOAD:=$(call AutoLoad,70,pwc)
72endef
73
74
75define KernelPackage/video-pwc/description
76 Kernel modules for supporting Philips USB based cameras.
77endef
78
79$(eval $(call KernelPackage,video-pwc))
80
Note: See TracBrowser for help on using the repository browser.