3 include $(TOPDIR
)/rules.mk
4 include $(INCLUDE_DIR
)/kernel.mk
6 PKG_NAME
:=hostap-driver
9 PKG_MD5SUM
:=c7534dc040ab90218257a78488ecd378
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
12 PKG_SOURCE_URL
:=http
://hostap.epitest.fi
/releases
/
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/kmod-hostap
23 DEPENDS
:=@LINUX_2_4_BRCM||LINUX_2_4_X86
24 TITLE
:=Host AP support for Prism2
/2.5/3 IEEE
802.11b
25 DESCRIPTION
:=Host AP support for Prism2
/2.5/3 IEEE
802.11b
\\\
26 A driver for
802.11b wireless cards based on Intersil Prism2
/2.5/3 \\\
27 chipset. This driver supports so called Host AP mode that allows the card
\\\
28 to act
as an IEEE
802.11 access point.
\\\
30 This option includes the base Host AP driver code that is shared by
\\\
31 different hardware models. You will also need to enable support for
\\\
32 PLX
/PCI
/CS version of the driver to actually use the driver.
\\\
33 URL
:=http
://hostap.epitest.fi
/
34 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
37 define Package
/kmod-hostap-pci
38 $(call Package
/kmod-hostap
)
40 TITLE
:=Host AP driver for Prism2.5 PCI adaptors
41 DESCRIPTION
:=Host AP driver for Prism2.5 PCI adaptors
44 define Package
/kmod-hostap-plx
45 $(call Package
/kmod-hostap
)
47 TITLE
:=Host AP driver for Prism2
/2.5/3 in PLX9052 based PCI adaptors
48 DESCRIPTION
:=Host AP driver for Prism2
/2.5/3 in PLX9052 based PCI adaptors
53 $(MAKE
) -C
$(LINUX_DIR
)/ \
54 ARCH
="$(LINUX_KARCH)" \
55 CROSS_COMPILE
="$(TARGET_CROSS)" \
56 SUBDIRS
="$(PKG_BUILD_DIR)/driver/modules" \
60 define Package
/kmod-hostap
/install
61 install -m0755
-d
$(1)/lib
/modules
/$(LINUX_VERSION
)
63 $(PKG_BUILD_DIR
)/driver
/modules
/hostap.
$(LINUX_KMOD_SUFFIX
) \
64 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_crypt_ccmp.
$(LINUX_KMOD_SUFFIX
) \
65 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_crypt_tkip.
$(LINUX_KMOD_SUFFIX
) \
66 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_crypt_wep.
$(LINUX_KMOD_SUFFIX
) \
67 $(1)/lib
/modules
/$(LINUX_VERSION
)/
70 define Package
/kmod-hostap-pci
/install
71 install -m0755
-d
$(1)/lib
/modules
/$(LINUX_VERSION
)
73 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_pci.
$(LINUX_KMOD_SUFFIX
) \
74 $(1)/lib
/modules
/$(LINUX_VERSION
)/
77 define Package
/kmod-hostap-plx
/install
78 install -m0755
-d
$(1)/lib
/modules
/$(LINUX_VERSION
)
80 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_plx.
$(LINUX_KMOD_SUFFIX
) \
81 $(1)/lib
/modules
/$(LINUX_VERSION
)/
84 $(eval
$(call BuildPackage
,kmod-hostap
))
85 $(eval
$(call BuildPackage
,kmod-hostap-pci
))
86 $(eval
$(call BuildPackage
,kmod-hostap-plx
))