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.
7 # $Id: Makefile 7137 2007-05-08 18:40:02Z nbd $
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
16 PKG_SOURCE
:=$(PKG_NAME
).
tar.bz2
17 PKG_SOURCE_URL
:=http
://www.acmesystems.it
/download
/owrt
/
19 PKG_BUILD_DIR
:=$(KERNEL_BUILD_DIR
)/$(PKG_NAME
)
21 include $(INCLUDE_DIR
)/package.mk
23 define KernelPackage
/spca5xx-le
24 SUBMENU
:=Other modules
25 DEPENDS
:=@LINUX_2_6 kmod-videodev
26 TITLE
:=Driver for SPCA5xx based USB cameras
(Light Edition
)
27 URL
:=http
://mxhaard.free.fr
/
28 FILES
:=$(PKG_BUILD_DIR
)/spca5xx.
$(LINUX_KMOD_SUFFIX
)
29 AUTOLOAD
:=$(call AutoLoad
,90,spca5xx
)
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)" \
43 $(eval
$(call KernelPackage
,spca5xx-le
))