enable slab, disable slob - for better performance (#583)
[openwrt.git] / target / linux / package / zd1211 / Makefile
1 # $Id: Makefile 3297 2006-03-02 23:42:52Z florian $
2
3 include $(TOPDIR)/rules.mk
4 include ../../rules.mk
5
6 PKG_NAME:=zd1211
7 PKG_VERSION:=r69
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=c14133a3d5b27927402a492e84d2467a
10
11 PKG_SOURCE_URL:=http://zd1211.ath.cx/download/
12 PKG_SOURCE:=$(PKG_NAME)-driver-$(PKG_VERSION).tgz
13 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-driver-$(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_ZD1211,kmod-$(PKG_NAME),$(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 $(PKG_BUILD_DIR) \
27 ARCH="$(LINUX_KARCH)" \
28 CROSS_COMPILE="$(TARGET_CROSS)" \
29 CC="$(TARGET_CC)" \
30 CPP="$(TARGET_CC)" \
31 LD="$(TARGET_CROSS)ld" \
32 STAGING_DIR=$(STAGING_DIR) \
33 KERNELVERSION="$(KERNEL)" \
34 MODPATH="$(MODULES_DIR)" \
35 KERNEL_SOURCE="$(LINUX_DIR)" \
36 all
37 $(TARGET_CC) $(PKG_BUILD_DIR)/apdbg.c -o $(PKG_BUILD_DIR)/apdbg
38 touch $@
39
40 $(IPKG_KMOD_ZD1211):
41 install -m0755 -d $(IDIR_KMOD_ZD1211)/lib/modules/$(LINUX_VERSION) \
42 $(IDIR_KMOD_ZD1211)/usr/sbin
43 $(CP) $(PKG_BUILD_DIR)/zd1211.$(LINUX_KMOD_SUFFIX) \
44 $(IDIR_KMOD_ZD1211)/lib/modules/$(LINUX_VERSION)/
45 $(CP) $(PKG_BUILD_DIR)/apdbg $(IDIR_KMOD_ZD1211)/usr/sbin/
46 $(CP) $(PKG_BUILD_DIR)/sta $(IDIR_KMOD_ZD1211)/usr/sbin/$(PKG_NAME)-sta
47 $(RSTRIP_KMOD) $(IDIR_KMOD_ZD1211)
48 $(IPKG_BUILD) $(IDIR_KMOD_ZD1211) $(PACKAGE_DIR)
49
This page took 0.046226 seconds and 5 git commands to generate.