2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
14 PKG_VERSION
:=r
$(PKG_REV
)
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
18 PKG_SOURCE_URL
:=svn
://svn.berlios.de
/linux-uvc
/linux-uvc
/trunk
19 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_SOURCE_VERSION
:=$(PKG_REV
)
22 include $(INCLUDE_DIR
)/package.mk
24 define KernelPackage
/video-uvc
25 SUBMENU
:=Video Support
26 TITLE
:=USB Video Class
(UVC
) support
27 URL
:=http
://linux-uvc.berlios.de
/
28 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-core kmod-video-core
29 FILES
:=$(PKG_BUILD_DIR
)/uvcvideo.
$(LINUX_KMOD_SUFFIX
)
30 AUTOLOAD
:=$(call AutoLoad
,90,uvcvideo
)
34 $(MAKE
) -C
$(LINUX_DIR
) \
35 ARCH
="$(LINUX_KARCH)" \
36 CROSS_COMPILE
="$(TARGET_CROSS)" \
37 SUBDIRS
="$(PKG_BUILD_DIR)" \
41 $(eval
$(call KernelPackage
,video-uvc
))