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.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://mxhaard.free.fr
/spca50x
/Download
/
18 PKG_MD5SUM
:=8fcec25715aea10f9ebec5728c37e752
21 PKG_BUILD_DIR
:=$(KERNEL_BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
25 define KernelPackage
/spca5xx
26 SUBMENU
:=Other modules
27 DEPENDS
:=kmod-usb-core kmod-videodev
28 TITLE
:=Driver for SPCA5xx based USB cameras
29 URL
:=http
://mxhaard.free.fr
/
30 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
31 FILES
:=$(PKG_BUILD_DIR
)/spca5xx.
$(LINUX_KMOD_SUFFIX
)
32 AUTLOAD
:=$(call AutoLoad
,90,spca5xx
)
36 $(MAKE
) -C
$(LINUX_DIR
) \
37 ARCH
="$(LINUX_KARCH)" \
38 CROSS_COMPILE
="$(TARGET_CROSS)" \
39 KERNELVERSION
="$(KERNEL)" \
40 KERNEL_VERSION
="$(LINUX_VERSION)" \
41 KERNELDIR
="$(LINUX_DIR)" \
42 SUBDIRS
="$(PKG_BUILD_DIR)" \
46 $(eval
$(call KernelPackage
,spca5xx
))