fix include, reduce verbosity
[openwrt.git] / package / linux-uvc / 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:=r132
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:=7e1d72ee2033403696fca6bd21042afa
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define KernelPackage/video-uvc
23 SUBMENU:=Video Support
24 TITLE:=USB Video Class (UVC) support
25 URL:=http://linux-uvc.berlios.de/
26 DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core kmod-video-core
27 FILES:=$(PKG_BUILD_DIR)/uvcvideo.$(LINUX_KMOD_SUFFIX)
28 AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
29 endef
30
31 define Build/Compile
32 $(MAKE) -C $(LINUX_DIR) \
33 ARCH="$(LINUX_KARCH)" \
34 CROSS_COMPILE="$(TARGET_CROSS)" \
35 SUBDIRS="$(PKG_BUILD_DIR)" \
36 modules
37 endef
38
39 $(eval $(call KernelPackage,video-uvc))
This page took 0.042365 seconds and 5 git commands to generate.