summaryrefslogtreecommitdiff
path: root/package/hostap-driver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostap-driver/Makefile')
-rw-r--r--package/hostap-driver/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/hostap-driver/Makefile b/package/hostap-driver/Makefile
index 5be9f9eb59..3a170f6b00 100644
--- a/package/hostap-driver/Makefile
+++ b/package/hostap-driver/Makefile
@@ -46,7 +46,7 @@ endef
define KernelPackage/hostap
$(call KernelPackage/hostap/Default)
TITLE:=Host AP support for Prism2/2.5/3
- DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-ieee80211
+ DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-ieee80211 +wireless-tools
KCONFIG:=CONFIG_HOSTAP
endef
@@ -174,6 +174,15 @@ else
endef
endif
+define KernelPackage/hostap-pci/install
+ $(INSTALL_DIR) $(1)/lib/wifi
+ $(INSTALL_DATA) ./files/lib/wifi/hostap.sh $(1)/lib/wifi
+endef
+
+define KernelPackage/hostap-plx/install
+ $(INSTALL_DIR) $(1)/lib/wifi
+ $(INSTALL_DATA) ./files/lib/wifi/hostap.sh $(1)/lib/wifi
+endef
$(eval $(call KernelPackage,hostap))
$(eval $(call KernelPackage,hostap-cs))