X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/66661aa6db17d07b3f6b4eaa1d4e64cff8fb2f6f..e5332c71e5ffda031747222016dac353112983a6:/package/hostap-driver/Makefile?ds=inline diff --git a/package/hostap-driver/Makefile b/package/hostap-driver/Makefile index 5be9f9eb5..f78d7877d 100644 --- a/package/hostap-driver/Makefile +++ b/package/hostap-driver/Makefile @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk @@ -46,8 +45,8 @@ endef define KernelPackage/hostap $(call KernelPackage/hostap/Default) TITLE:=Host AP support for Prism2/2.5/3 - DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-ieee80211 - KCONFIG:=CONFIG_HOSTAP + DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +LINUX_2_6:kmod-lib80211 +wireless-tools + KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y endef define KernelPackage/hostap/2.4 @@ -104,7 +103,7 @@ endef define KernelPackage/hostap-pci $(call KernelPackage/hostap/Default) TITLE:=Host AP driver for PCI adaptors - DEPENDS:=@PCI_SUPPORT kmod-hostap + DEPENDS:= kmod-hostap KCONFIG:=CONFIG_HOSTAP_PCI AUTOLOAD:=$(call AutoLoad,60,hostap_pci) endef @@ -174,6 +173,10 @@ else endef endif +define KernelPackage/hostap/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))