1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[package] libertas: use driver from compat-wireless instead of our own (deprecated) one

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17982 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2009-10-07 16:03:31 +00:00
parent 4cce3b1620
commit ab969ad78e
41 changed files with 30 additions and 20882 deletions

View File

@@ -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))