X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d20afc8d2254c64f5638757c535ee8cf8f1f5da7..99c2098456c9a8bcdcb415c69f02340c9d695859:/package/hostap-driver/Makefile diff --git a/package/hostap-driver/Makefile b/package/hostap-driver/Makefile index 3a170f6b0..3ea3a25e2 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 +wireless-tools - 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 @@ -80,7 +79,7 @@ endef define KernelPackage/hostap-cs $(call KernelPackage/hostap/Default) TITLE:=Host AP driver for PCMCIA adaptors - DEPENDS:=@PCMCIA_SUPPORT kmod-hostap +kmod-pcmcia-core + DEPENDS:=@PCMCIA_SUPPORT +kmod-hostap +kmod-pcmcia-core KCONFIG:=CONFIG_HOSTAP_CS AUTOLOAD:=$(call AutoLoad,60,hostap_cs) endef @@ -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:=@PCI_SUPPORT +kmod-hostap KCONFIG:=CONFIG_HOSTAP_PCI AUTOLOAD:=$(call AutoLoad,60,hostap_pci) endef @@ -130,7 +129,7 @@ endef define KernelPackage/hostap-plx $(call KernelPackage/hostap/Default) TITLE:=Host AP driver for PLX9052 based PCI adaptors - DEPENDS:=@PCI_SUPPORT kmod-hostap + DEPENDS:=@PCI_SUPPORT +kmod-hostap KCONFIG:=CONFIG_HOSTAP_PLX AUTOLOAD:=$(call AutoLoad,60,hostap_plx) endef @@ -174,12 +173,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