2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 VIDEO_MENU
:=Video Support
11 define KernelPackage
/video-core
12 SUBMENU
:=$(VIDEO_MENU
)
13 TITLE
=Video4Linux support
14 DEPENDS
:= @
!TARGET_uml
18 CONFIG_VIDEO_CAPTURE_DRIVERS
=y \
19 CONFIG_V4L_USB_DRIVERS
=y
22 define KernelPackage
/video-core
/2.4
23 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/videodev.
$(LINUX_KMOD_SUFFIX
)
24 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
27 define KernelPackage
/video-core
/2.6
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, \
41 define KernelPackage
/video-core
/description
42 Kernel modules for Video4Linux support
45 $(eval
$(call KernelPackage
,video-core
))
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
)
57 define KernelPackage
/video-cpia2
/description
58 Kernel modules for supporting CPIA2 USB based cameras.
61 $(eval
$(call KernelPackage
,video-cpia2
))
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
70 CONFIG_USB_PWC_DEBUG
=n
71 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/pwc
/pwc.
$(LINUX_KMOD_SUFFIX
)
72 AUTOLOAD
:=$(call AutoLoad
,70,pwc
)
76 define KernelPackage
/video-pwc
/description
77 Kernel modules for supporting Philips USB based cameras.
80 $(eval
$(call KernelPackage
,video-pwc
))