diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-10-07 16:03:31 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-10-07 16:03:31 +0000 |
commit | b795affe0662c01f29b91bfacc17d8ab4978c999 (patch) | |
tree | ccdfb0cf3245a9114c1252ae19c71065c70d21a2 /package/mac80211/Makefile | |
parent | 7a7a5627cd47245ad50d2868bb4df72f28405001 (diff) | |
download | upstream-b795affe0662c01f29b91bfacc17d8ab4978c999.tar.gz upstream-b795affe0662c01f29b91bfacc17d8ab4978c999.tar.bz2 upstream-b795affe0662c01f29b91bfacc17d8ab4978c999.zip |
libertas: use driver from compat-wireless instead of our own (deprecated) one
SVN-Revision: 17982
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r-- | package/mac80211/Makefile | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index fe7c191e27..98658c8573 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -328,6 +328,28 @@ define KernelPackage/ath9k/config source "$(SOURCE)/Config.in.ath9k" endef + +USB8388FW_NAME:=usb8388 +USB8388FW_VERSION:=5.110.22.p23 + +define Download/usb8388 + URL:=http://dev.laptop.org/pub/firmware/libertas/ + FILE:=$(USB8388FW_NAME)-$(USB8388FW_VERSION).bin + MD5SUM=5e38f55719df3d0c58dd3bd02575a09c +endef +$(eval $(call Download,usb8388)) + +define KernelPackage/libertas + $(call KernelPackage/mac80211/Default) + DEPENDS:= @USB_SUPPORT +kmod-mac8021 +kmod-usb-core1 + TITLE:=Marvell 88W8015 Wireless Driver + FILES:= \ + $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas.$(LINUX_KMOD_SUFFIX) \ + $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/usb8xxx.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,27,libertas usb8xxx) +endef + + define KernelPackage/ar9170 $(call KernelPackage/mac80211/Default) TITLE:=Atheros AR9170 802.11n USB support @@ -516,10 +538,11 @@ MAKE_OPTS:= \ CONFIG_MAC80211_HWSIM=$(if $(CONFIG_PACKAGE_kmod-mac80211-hwsim),m) \ CONFIG_PCMCIA= \ CONFIG_LIBIPW= \ - CONFIG_LIBERTAS= \ + CONFIG_LIBERTAS=$(if $(CONFIG_PACKAGE_kmod-libertas),m) \ CONFIG_LIBERTAS_CS= \ CONFIG_LIBERTAS_SDIO= \ CONFIG_LIBERTAS_THINFIRM= \ + CONFIG_LIBERTAS_USB=$(if $(CONFIG_PACKAGE_kmod-libertas),m) \ CONFIG_IPW2100= \ CONFIG_IPW2200= \ CONFIG_NL80211=y \ @@ -582,6 +605,11 @@ define Build/InstallDev $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/ endef +define KernelPackage/libertas/install + $(INSTALL_DIR) $(1)/lib/firmware + $(INSTALL_DATA) $(DL_DIR)/$(USB8388FW_NAME)-$(USB8388FW_VERSION).bin $(1)/lib/firmware/$(USB8388FW_NAME).bin +endef + define KernelPackage/mac80211/install $(INSTALL_DIR) $(1)/lib/wifi $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi @@ -672,6 +700,7 @@ define KernelPackage/b43legacy/install endef $(eval $(call KernelPackage,ath5k)) +$(eval $(call KernelPackage,libertas)) $(eval $(call KernelPackage,mac80211)) $(eval $(call KernelPackage,p54-common)) $(eval $(call KernelPackage,p54-pci)) |