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-03-02 23:42:52 +00:00
|
|
|
PKG_VERSION:=20060301
|
2005-12-08 22:09:33 +00:00
|
|
|
PKG_RELEASE:=1
|
2006-03-02 23:42:52 +00:00
|
|
|
PKG_MD5SUM:=4160e03c408ac254111febacf058b88a
|
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)
|
|
|
|
|