aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-10 16:36:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-10 16:36:31 +0000
commit78efb85fa1ae1b64f1aa0521de3ec5b3ba262658 (patch)
tree8aa63109a4a6a01594b71d4fefa51117034e8a6b /package/firmware
parent9e5df4a939a35377cfc8680bfed6b1c7aabe2dd0 (diff)
downloadupstream-78efb85fa1ae1b64f1aa0521de3ec5b3ba262658.tar.gz
upstream-78efb85fa1ae1b64f1aa0521de3ec5b3ba262658.tar.bz2
upstream-78efb85fa1ae1b64f1aa0521de3ec5b3ba262658.zip
mac80211: move mediatek/ralink firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48180
Diffstat (limited to 'package/firmware')
-rw-r--r--package/firmware/linux-firmware/mediatek.mk43
1 files changed, 43 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/mediatek.mk b/package/firmware/linux-firmware/mediatek.mk
new file mode 100644
index 0000000000..5d6d592932
--- /dev/null
+++ b/package/firmware/linux-firmware/mediatek.mk
@@ -0,0 +1,43 @@
+Package/mt7601u = $(call Package/firmware-default,MediaTek MT7601U firmware)
+define Package/mt7601u-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/mt7601u.bin \
+ $(1)/lib/firmware
+endef
+$(eval $(call BuildPackage,mt7601u))
+
+Package/rt2800-pci = $(call Package/firmware-default,Ralink RT28xx/3xxx PCI/SoC firmware)
+define Package/rt2800-pci-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/rt2860.bin \
+ $(PKG_BUILD_DIR)/rt3290.bin \
+ $(1)/lib/firmware
+endef
+$(eval $(call BuildPackage,rt2800-pci))
+
+Package/rt2800-usb = $(call Package/firmware-default,Ralink RT28xx/3xxx USB firmware)
+define Package/rt2800-usb-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt2870.bin $(1)/lib/firmware/
+endef
+$(eval $(call BuildPackage,rt2800-usb))
+
+Package/rt61-pci = $(call Package/firmware-default,Ralink RT2561 firmware)
+define Package/rt61-pci-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/rt2561.bin \
+ $(PKG_BUILD_DIR)/rt2561s.bin \
+ $(PKG_BUILD_DIR)/rt2661.bin \
+ $(1)/lib/firmware/
+endef
+$(eval $(call BuildPackage,rt61-pci))
+
+Package/rt73-pci = $(call Package/firmware-default,Ralink RT2573 firmware)
+define Package/rt73-usb-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt73.bin $(1)/lib/firmware/
+endef
+$(eval $(call BuildPackage,rt73-pci))