source: tags/kamikaze_7.07/package/spca5xx-le/Makefile @ 8177

Last change on this file since 8177 was 8177, checked in by nbd, 9 years ago

this one needs it as well

File size: 1.2 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: Makefile 7137 2007-05-08 18:40:02Z nbd $
8
9include $(TOPDIR)/rules.mk
10include $(INCLUDE_DIR)/kernel.mk
11
12PKG_NAME:=spca5xx-le
13PKG_VERSION:=1
14PKG_RELEASE:=1
15
16PKG_SOURCE:=$(PKG_NAME).tar.bz2
17PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt/
18PKG_MD5SUM:=
19PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
20
21include $(INCLUDE_DIR)/package.mk
22
23define KernelPackage/spca5xx-le
24  SUBMENU:=Other modules
25  DEPENDS:=@LINUX_2_6 kmod-videodev @VIDEO_SUPPORT @USB_SUPPORT
26  TITLE:=Driver for SPCA5xx based USB cameras (Light Edition)
27  URL:=http://mxhaard.free.fr/
28  VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
29  FILES:=$(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX)
30  AUTOLOAD:=$(call AutoLoad,90,spca5xx)
31endef
32
33define Build/Compile
34        $(MAKE) -C $(LINUX_DIR) \
35                ARCH="$(LINUX_KARCH)" \
36                CROSS_COMPILE="$(TARGET_CROSS)" \
37                KERNELVERSION="$(KERNEL)" \
38                KERNEL_VERSION="$(LINUX_VERSION)" \
39                KERNELDIR="$(LINUX_DIR)" \
40                SUBDIRS="$(PKG_BUILD_DIR)" \
41                modules
42endef
43
44$(eval $(call KernelPackage,spca5xx-le))
Note: See TracBrowser for help on using the repository browser.