diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-18 10:10:32 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-07-18 10:10:32 +0000 |
commit | 8f095cc5620a3d48ec546fc2f98670cd656e736a (patch) | |
tree | 5aea56f9bcdd911a9835cc9e15da680d6db7c8a7 /package/mac80211/Makefile | |
parent | f085bee46300dc3fb4ddc6039bde17d0bbab4faa (diff) | |
download | upstream-8f095cc5620a3d48ec546fc2f98670cd656e736a.tar.gz upstream-8f095cc5620a3d48ec546fc2f98670cd656e736a.tar.bz2 upstream-8f095cc5620a3d48ec546fc2f98670cd656e736a.zip |
[package] download and install rt2870 firmware (#5519)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16893 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r-- | package/mac80211/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index f6229a5ef3..c9b2c52a50 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -110,6 +110,7 @@ endef RT61FW:=RT61_Firmware_V1.2.zip RT71FW:=RT71W_Firmware_V1.8.zip RT2860FW:=RT2860_Firmware_V11.zip +RT2870FW:=RT2870_Firmware_V8.zip define Download/rt61 FILE:=$(RT61FW) @@ -132,6 +133,13 @@ define Download/rt2860 endef $(eval $(call Download,rt2860)) +define Download/rt2870 + FILE:=$(RT2870FW) + URL:=http://www.ralinktech.com.tw/data/drivers + MD5SUM:=a7aae1d8cfd68e4d86a73000df0b6584 +endef +$(eval $(call Download,rt2870)) + define KernelPackage/rt2x00/Default $(call KernelPackage/mac80211/Default) TITLE:=Ralink Drivers for RT2x00 cards @@ -462,6 +470,7 @@ define Build/Prepare unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT61FW) unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT71FW) -unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT2860FW) + -unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT2870FW) $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2 rm -rf $(PKG_BUILD_DIR)/include/linux/ssb rm -f $(PKG_BUILD_DIR)/include/net/ieee80211.h @@ -515,6 +524,11 @@ define KernelPackage/rt2800-pci/install $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt2860.bin $(1)/lib/firmware/ endef +define KernelPackage/rt2800-usb/install + $(INSTALL_DIR) $(1)/lib/firmware + $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt2870.bin $(1)/lib/firmware/ +endef + define KernelPackage/zd1211rw/install $(INSTALL_DIR) $(1)/lib/firmware/zd1211 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211 |