Modified br2684 patch to remove unresolved symbol, should now work, needs testing
[openwrt.git] / openwrt / target / linux / package / hostap / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4 include ../../rules.mk
5
6 PKG_NAME:=hostap-driver
7 PKG_VERSION:=0.4.7
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=ee495686cf27011b4e401963c2c7f62a
10
11 PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
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_HOSTAP,kmod-hostap,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
21 $(eval $(call PKG_template,KMOD_HOSTAP_PCI,kmod-hostap-pci,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
22 $(eval $(call PKG_template,KMOD_HOSTAP_PLX,kmod-hostap-plx,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
23
24 $(PKG_BUILD_DIR)/.configured:
25 touch $@
26
27 $(PKG_BUILD_DIR)/.built:
28 $(MAKE) -C $(LINUX_DIR)/ \
29 ARCH="$(LINUX_KARCH)" \
30 CROSS_COMPILE="$(TARGET_CROSS)" \
31 SUBDIRS="$(PKG_BUILD_DIR)/driver/modules" \
32 modules
33 touch $@
34
35 $(IPKG_KMOD_HOSTAP):
36 install -m0755 -d $(IDIR_KMOD_HOSTAP)/lib/modules/$(LINUX_VERSION)
37 $(CP) \
38 $(PKG_BUILD_DIR)/driver/modules/hostap.$(LINUX_KMOD_SUFFIX) \
39 $(PKG_BUILD_DIR)/driver/modules/hostap_crypt_ccmp.$(LINUX_KMOD_SUFFIX) \
40 $(PKG_BUILD_DIR)/driver/modules/hostap_crypt_tkip.$(LINUX_KMOD_SUFFIX) \
41 $(PKG_BUILD_DIR)/driver/modules/hostap_crypt_wep.$(LINUX_KMOD_SUFFIX) \
42 $(IDIR_KMOD_HOSTAP)/lib/modules/$(LINUX_VERSION)/
43 $(IPKG_BUILD) $(IDIR_KMOD_HOSTAP) $(PACKAGE_DIR)
44
45 $(IPKG_KMOD_HOSTAP_PCI):
46 install -m0755 -d $(IDIR_KMOD_HOSTAP_PCI)/lib/modules/$(LINUX_VERSION)
47 $(CP) \
48 $(PKG_BUILD_DIR)/driver/modules/hostap_pci.$(LINUX_KMOD_SUFFIX) \
49 $(IDIR_KMOD_HOSTAP_PCI)/lib/modules/$(LINUX_VERSION)/
50 $(IPKG_BUILD) $(IDIR_KMOD_HOSTAP_PCI) $(PACKAGE_DIR)
51
52 $(IPKG_KMOD_HOSTAP_PLX):
53 install -m0755 -d $(IDIR_KMOD_HOSTAP_PLX)/lib/modules/$(LINUX_VERSION)
54 $(CP) \
55 $(PKG_BUILD_DIR)/driver/modules/hostap_plx.$(LINUX_KMOD_SUFFIX) \
56 $(IDIR_KMOD_HOSTAP_PLX)/lib/modules/$(LINUX_VERSION)/
57 $(IPKG_BUILD) $(IDIR_KMOD_HOSTAP_PLX) $(PACKAGE_DIR)
58
This page took 0.05745 seconds and 5 git commands to generate.