X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d20afc8d2254c64f5638757c535ee8cf8f1f5da7..a73dfff0e74907833a83b3d20015ae5df07eae86:/package/hostap-driver/Makefile?ds=inline diff --git a/package/hostap-driver/Makefile b/package/hostap-driver/Makefile index 3a170f6b0..6841fcdc0 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,9 @@ endef define KernelPackage/hostap $(call KernelPackage/hostap/Default) TITLE:=Host AP support for Prism2/2.5/3 - DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-ieee80211 +wireless-tools - KCONFIG:=CONFIG_HOSTAP + DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32):kmod-ieee80211 +LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32:kmod-lib80211 +wireless-tools + KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y + PROVIDES:=kmod-hostap endef define KernelPackage/hostap/2.4 @@ -174,12 +174,7 @@ 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 +define KernelPackage/hostap/install $(INSTALL_DIR) $(1)/lib/wifi $(INSTALL_DATA) ./files/lib/wifi/hostap.sh $(1)/lib/wifi endef