2005-12-12 06:03:48 +02:00
|
|
|
# $Id$
|
2005-12-09 00:09:33 +02:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include ../../rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=spca5xx
|
2006-03-03 01:42:52 +02:00
|
|
|
PKG_VERSION:=20060301
|
2005-12-09 00:09:33 +02:00
|
|
|
PKG_RELEASE:=1
|
2006-03-03 01:42:52 +02:00
|
|
|
PKG_MD5SUM:=4160e03c408ac254111febacf058b88a
|
2005-12-09 00:09:33 +02:00
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
|
|
|
|
|
|
include $(TOPDIR)/package/rules.mk
|
|
|
|
|
2006-01-10 21:43:00 +02:00
|
|
|
$(eval $(call PKG_template,KMOD_SPCA5XX,kmod-spca5xx,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
|
2005-12-09 00:09:33 +02:00
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.configured:
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.built:
|
2006-01-10 21:43:00 +02:00
|
|
|
$(MAKE) -C $(LINUX_DIR) \
|
2005-12-09 12:00:28 +02:00
|
|
|
ARCH="$(LINUX_KARCH)" \
|
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
2006-01-11 15:10:58 +02:00
|
|
|
KERNELVERSION="$(KERNEL)" \
|
2005-12-09 00:09:33 +02:00
|
|
|
SUBDIRS="$(PKG_BUILD_DIR)" \
|
|
|
|
modules
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(IPKG_KMOD_SPCA5XX):
|
|
|
|
install -m0755 -d $(IDIR_KMOD_SPCA5XX)/lib/modules/$(LINUX_VERSION)
|
2006-02-02 01:53:19 +02:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX) \
|
2005-12-09 00:09:33 +02:00
|
|
|
$(IDIR_KMOD_SPCA5XX)/lib/modules/$(LINUX_VERSION)/
|
|
|
|
$(RSTRIP_KMOD) $(IDIR_KMOD_SPCA5XX)
|
|
|
|
$(IPKG_BUILD) $(IDIR_KMOD_SPCA5XX) $(PACKAGE_DIR)
|
|
|
|
|