From 21ef61952b34eee9e00da8fc37c10d6bc43859a7 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 2 Mar 2016 17:40:55 +0000
Subject: mt76: update to the latest version, adds basic mt7628 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48885
---
 package/kernel/mt76/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'package/kernel/mt76/Makefile')

diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index 6d0000967d..752f5de502 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mt76
-PKG_VERSION:=2016-02-28
+PKG_VERSION:=2016-03-02
 PKG_RELEASE=1
 
 PKG_LICENSE:=GPLv2
@@ -10,7 +10,7 @@ PKG_LICENSE_FILES:=
 PKG_SOURCE_URL:=https://github.com/openwrt/mt76
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=675868d4e84f0f4be2449c40902b229b79ecf926
+PKG_SOURCE_VERSION:=c190f15d6f4a112e795ac50391e8adc50a80fe91
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
@@ -55,6 +55,10 @@ endef
 define KernelPackage/mt76/install
 	$(INSTALL_DIR) $(1)/lib/firmware
 	cp \
+		$(if $(CONFIG_TARGET_ramips_mt7628), \
+			$(PKG_BUILD_DIR)/firmware/mt7628_e1.bin \
+			$(PKG_BUILD_DIR)/firmware/mt7628_e2.bin \
+		) \
 		$(PKG_BUILD_DIR)/firmware/mt7603_e1.bin \
 		$(PKG_BUILD_DIR)/firmware/mt7603_e2.bin \
 		$(PKG_BUILD_DIR)/firmware/mt7662_rom_patch.bin \
-- 
cgit v1.2.3