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
This commit is contained in:
parent
832251a616
commit
9d18e34052
1 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue