2005-12-12 04:03:48 +00:00
|
|
|
# $Id$
|
2005-12-08 22:09:33 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include ../../rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=spca5xx
|
2006-01-29 21:26:43 +00:00
|
|
|
PKG_VERSION:=20060101
|
2005-12-08 22:09:33 +00:00
|
|
|
PKG_RELEASE:=1
|
2006-01-29 21:26:43 +00:00
|
|
|
PKG_MD5SUM:=2a4dc191262c16c14bfd2fd563c3e8a1
|
2005-12-08 22:09:33 +00: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 19:43:00 +00: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-08 22:09:33 +00:00
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.configured:
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.built:
|
2006-01-10 19:43:00 +00:00
|
|
|
$(MAKE) -C $(LINUX_DIR) \
|
2005-12-09 10:00:28 +00:00
|
|
|
ARCH="$(LINUX_KARCH)" \
|
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
2006-01-11 13:10:58 +00:00
|
|
|
KERNELVERSION="$(KERNEL)" \
|
2005-12-08 22:09:33 +00:00
|
|
|
SUBDIRS="$(PKG_BUILD_DIR)" \
|
|
|
|
modules
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(IPKG_KMOD_SPCA5XX):
|
|
|
|
install -m0755 -d $(IDIR_KMOD_SPCA5XX)/lib/modules/$(LINUX_VERSION)
|
2006-02-01 23:53:19 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX) \
|
2005-12-08 22:09:33 +00:00
|
|
|
$(IDIR_KMOD_SPCA5XX)/lib/modules/$(LINUX_VERSION)/
|
|
|
|
$(RSTRIP_KMOD) $(IDIR_KMOD_SPCA5XX)
|
|
|
|
$(IPKG_BUILD) $(IDIR_KMOD_SPCA5XX) $(PACKAGE_DIR)
|
|
|
|
|