acx-mac80211 fixes:
[openwrt.git] / package / uvcvideo / Makefile
1 #
2 # Copyright (C) 2007 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 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=linux-uvc
13 PKG_VERSION:=r111
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://naaa.de/programme/linux-uvc/
18 PKG_MD5SUM:=36c742d9dd1cf533fa059a1eeffa3e32
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define KernelPackage/uvcvideo
23 SUBMENU:=USB Support
24 DEPENDS:=@LINUX_2_6 kmod-usb-core kmod-videodev @VIDEO_SUPPORT
25 TITLE:=Driver for Linux-UVC based USB cameras
26 URL:=http://linux-uvc.berlios.de/
27 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
28 FILES:=$(PKG_BUILD_DIR)/uvcvideo.$(LINUX_KMOD_SUFFIX)
29 AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
30 endef
31
32 define Build/Compile
33 $(MAKE) -C $(LINUX_DIR) \
34 ARCH="$(LINUX_KARCH)" \
35 CROSS_COMPILE="$(TARGET_CROSS)" \
36 KERNELVERSION="$(KERNEL)" \
37 KERNEL_VERSION="$(LINUX_VERSION)" \
38 KERNELDIR="$(LINUX_DIR)" \
39 SUBDIRS="$(PKG_BUILD_DIR)" \
40 modules
41 endef
42
43 $(eval $(call KernelPackage,uvcvideo))
This page took 0.076153 seconds and 5 git commands to generate.