fix BR2_ and CONFIG_ issues
[openwrt.git] / target / linux / package / spca5xx / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4 include ../../rules.mk
5
6 PKG_NAME:=spca5xx
7 PKG_VERSION:=20060301
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=4160e03c408ac254111febacf058b88a
10
11 PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
20 $(eval $(call PKG_template,KMOD_SPCA5XX,kmod-spca5xx,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
21
22 $(PKG_BUILD_DIR)/.configured:
23 touch $@
24
25 $(PKG_BUILD_DIR)/.built:
26 $(MAKE) -C $(LINUX_DIR) \
27 ARCH="$(LINUX_KARCH)" \
28 CROSS_COMPILE="$(TARGET_CROSS)" \
29 KERNELVERSION="$(KERNEL)" \
30 SUBDIRS="$(PKG_BUILD_DIR)" \
31 modules
32 touch $@
33
34 $(IPKG_KMOD_SPCA5XX):
35 install -m0755 -d $(IDIR_KMOD_SPCA5XX)/lib/modules/$(LINUX_VERSION)
36 $(CP) $(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX) \
37 $(IDIR_KMOD_SPCA5XX)/lib/modules/$(LINUX_VERSION)/
38 $(RSTRIP_KMOD) $(IDIR_KMOD_SPCA5XX)
39 $(IPKG_BUILD) $(IDIR_KMOD_SPCA5XX) $(PACKAGE_DIR)
40
This page took 0.051424 seconds and 5 git commands to generate.