aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-03 20:57:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-03 20:57:23 +0000
commitb353f84b9c5bd3894778376ae5d8963ecafa36b4 (patch)
tree0de62c6e88bfe154e063038b2cc9ff0cf8464bc1 /package/kernel
parentd68ebcc13d56fa8a82061ff34392dd1acf6aeab5 (diff)
downloadmaster-187ad058-b353f84b9c5bd3894778376ae5d8963ecafa36b4.tar.gz
master-187ad058-b353f84b9c5bd3894778376ae5d8963ecafa36b4.tar.bz2
master-187ad058-b353f84b9c5bd3894778376ae5d8963ecafa36b4.zip
mac80211: mt7601u use linux-firmware
upstream added mt7601u firmware with commit 9df5430a3c1bf4fa92d9198b6d7d8713408ff6bc Add firmware for mt7601u. version 34 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48102 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/Makefile17
1 files changed, 2 insertions, 15 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 2a0fc026c0..67a944ff23 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -1154,18 +1154,6 @@ define KernelPackage/mac80211-hwsim
AUTOLOAD:=$(call AutoProbe,mac80211_hwsim)
endef
-PKG_MT7601U_FW_NAME:=DPO_MT7601U_LinuxSTA
-PKG_MT7601U_FW_VERSION:=3.0.0.4_20130913
-PKG_MT7601U_FW_MD5SUM:=5f440dccc8bc952745a191994fc34699
-PKG_MT7601U_FW_SOURCE:=$(PKG_MT7601U_FW_NAME)_$(PKG_MT7601U_FW_VERSION).tar.bz2
-PKG_MT7601U_FW_SOURCE_URL:=http://www.mediatek.com/AmazonS3/Downloads/linux/
-define Download/mt7601u-firmware
- FILE:=$(PKG_MT7601U_FW_SOURCE)
- URL:=$(PKG_MT7601U_FW_SOURCE_URL)
- MD5SUM:=$(PKG_MT7601U_FW_MD5SUM)
- SUBDIR:=$(PKG_MT7601U_FW_NAME)_$(PKG_MT7601U_FW_VERSION)
-endef
-$(eval $(call Download,mt7601u-firmware))
define KernelPackage/mt7601u
$(call KernelPackage/mac80211/Default)
@@ -1803,7 +1791,6 @@ define Build/Prepare
$(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
$(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
$(TAR) -C $(PKG_BUILD_DIR) -xJf $(DL_DIR)/$(PKG_LINUX_FIRMWARE_SOURCE)
- $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_MT7601U_FW_SOURCE)
rm -rf \
$(PKG_BUILD_DIR)/include/linux/ssb \
$(PKG_BUILD_DIR)/include/linux/bcma \
@@ -2030,8 +2017,8 @@ endef
define KernelPackage/mt7601u/install
$(INSTALL_DIR) $(1)/lib/firmware
$(INSTALL_DATA) \
- $(PKG_BUILD_DIR)/$(PKG_MT7601U_FW_NAME)_$(PKG_MT7601U_FW_VERSION)/mcu/bin/MT7601.bin \
- $(1)/lib/firmware/mt7601u.bin
+ $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mt7601u.bin \
+ $(1)/lib/firmware
endef
define KernelPackage/mwl8k/install