summaryrefslogtreecommitdiff
path: root/package/kernel/mt76/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-28 09:55:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-28 09:55:18 +0000
commit9d18e34052efc4bf289330f578073e8860e0bde6 (patch)
tree338af0f80148f2fc7d65dbb9c30f17b17b59659d /package/kernel/mt76/Makefile
parent832251a616b626f834a11ca3f81f30c3fec592d0 (diff)
downloadmtk-20170518-9d18e34052efc4bf289330f578073e8860e0bde6.zip
mtk-20170518-9d18e34052efc4bf289330f578073e8860e0bde6.tar.gz
mtk-20170518-9d18e34052efc4bf289330f578073e8860e0bde6.tar.bz2
mt76: update to the latest version, enable MT7603 support (very basic, needs testing and debugging work)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48811
Diffstat (limited to 'package/kernel/mt76/Makefile')
-rw-r--r--package/kernel/mt76/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index c098832..69d2a60 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-08
+PKG_VERSION:=2016-02-28
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:=84a312645c7b805255e6d7b6191e9f62142985d9
+PKG_SOURCE_VERSION:=f2add7b2f0291675331229ba12f1cac7494c7ec0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
@@ -21,12 +21,13 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/mt76
SUBMENU:=Wireless Drivers
- TITLE:=MediaTek MT76x2 wireless driver
+ TITLE:=MediaTek MT76x2/MT7603 wireless driver
DEPENDS:=+kmod-mac80211 +@DRIVER_11N_SUPPORT @PCI_SUPPORT
FILES:=\
$(PKG_BUILD_DIR)/mt76.ko \
- $(PKG_BUILD_DIR)/mt76x2e.ko
- AUTOLOAD:=$(call AutoLoad,50,mac80211 mt76 mt76x2e)
+ $(PKG_BUILD_DIR)/mt76x2e.ko \
+ $(PKG_BUILD_DIR)/mt7603e.ko
+ AUTOLOAD:=$(call AutoLoad,50,mac80211 mt76 mt76x2e mt7603e)
endef
NOSTDINC_FLAGS = \
@@ -54,6 +55,8 @@ endef
define KernelPackage/mt76/install
$(INSTALL_DIR) $(1)/lib/firmware
cp \
+ $(PKG_BUILD_DIR)/firmware/mt7603_e1.bin \
+ $(PKG_BUILD_DIR)/firmware/mt7603_e2.bin \
$(PKG_BUILD_DIR)/firmware/mt7662_rom_patch.bin \
$(PKG_BUILD_DIR)/firmware/mt7662.bin \
$(1)/lib/firmware