ar71xx: tplinkpart: include module.h
[openwrt.git] / package / hostap-driver / Makefile
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=hostap-driver
12 PKG_VERSION:=0.4.9
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
17 PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define KernelPackage/hostap/Default
22 VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
23 SUBMENU:=Wireless Drivers
24 URL:=http://hostap.epitest.fi/
25 endef
26
27 define KernelPackage/hostap/Default/description
28 Host AP is a driver for 802.11b wireless cards based on Intersil
29 Prism2/2.5/3 chipset. It supports so called Host AP mode that allows the
30 card to act as an IEEE 802.11 access point.
31 endef
32
33
34 define KernelPackage/hostap
35 $(call KernelPackage/hostap/Default)
36 TITLE:=Host AP support for Prism2/2.5/3
37 DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-lib80211 +wireless-tools
38 KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y
39 FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap.ko
40 AUTOLOAD:=$(call AutoLoad,60,hostap)
41 endef
42
43 define KernelPackage/hostap/description
44 $(call KernelPackage/hostap/Default/description)
45 This package contains the base Host AP driver code that is shared by
46 different hardware models. You will also need to enable support for
47 PLX/PCI/CS version of the driver to actually use the driver.
48 endef
49
50
51 define KernelPackage/hostap-cs
52 $(call KernelPackage/hostap/Default)
53 TITLE:=Host AP driver for PCMCIA adaptors
54 DEPENDS:=@PCMCIA_SUPPORT +kmod-hostap +kmod-pcmcia-core
55 KCONFIG:=CONFIG_HOSTAP_CS
56 FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_cs.ko
57 AUTOLOAD:=$(call AutoLoad,60,hostap_cs)
58 endef
59
60 define KernelPackage/hostap-cs/description
61 $(call KernelPackage/hostap/Default/description)
62 This package contains the Host AP driver for Prism2/2.5/3 PC cards.
63 endef
64
65
66 define KernelPackage/hostap-pci
67 $(call KernelPackage/hostap/Default)
68 TITLE:=Host AP driver for PCI adaptors
69 DEPENDS:=@PCI_SUPPORT +kmod-hostap
70 KCONFIG:=CONFIG_HOSTAP_PCI
71 FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_pci.ko
72 AUTOLOAD:=$(call AutoLoad,60,hostap_pci)
73 endef
74
75 define KernelPackage/hostap-pci/description
76 $(call KernelPackage/hostap/Default/description)
77 This package contains the Host AP driver for Prism2.5 PCI adaptors.
78 endef
79
80
81 define KernelPackage/hostap-plx
82 $(call KernelPackage/hostap/Default)
83 TITLE:=Host AP driver for PLX9052 based PCI adaptors
84 DEPENDS:=@PCI_SUPPORT +kmod-hostap
85 KCONFIG:=CONFIG_HOSTAP_PLX
86 FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_plx.ko
87 AUTOLOAD:=$(call AutoLoad,60,hostap_plx)
88 endef
89
90 define KernelPackage/hostap-plx/description
91 $(call KernelPackage/hostap/Default/description)
92 This package contains the Host AP driver for Prism2/2.5/3 in PLX9052
93 based PCI adaptors.
94 endef
95
96
97 define Build/Prepare
98 mkdir -p $(PKG_BUILD_DIR)
99 endef
100
101 define Build/Configure
102
103 endef
104
105 define Build/Compile
106
107 endef
108
109 define KernelPackage/hostap/install
110 $(INSTALL_DIR) $(1)/lib/wifi
111 $(INSTALL_DATA) ./files/lib/wifi/hostap.sh $(1)/lib/wifi
112 endef
113
114 $(eval $(call KernelPackage,hostap))
115 $(eval $(call KernelPackage,hostap-cs))
116 $(eval $(call KernelPackage,hostap-pci))
117 $(eval $(call KernelPackage,hostap-plx))
This page took 0.042626 seconds and 5 git commands to generate.