linux-firmware: add mediatek BT firmware
authorJohn Crispin <john@phrozen.org>
Fri, 30 Aug 2019 05:27:51 +0000 (07:27 +0200)
committerJohn Crispin <john@phrozen.org>
Fri, 30 Aug 2019 05:27:51 +0000 (07:27 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
package/firmware/linux-firmware/mediatek.mk

index b258551a005e9ca95e81f9b23a67bfb300991b53..18677bc748d18b2add20f6f1c199b1322876888f 100644 (file)
@@ -41,3 +41,12 @@ define Package/rt73-usb-firmware/install
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt73.bin $(1)/lib/firmware/
 endef
 $(eval $(call BuildPackage,rt73-usb-firmware))
+
+Package/mt7622bt-firmware = $(call Package/firmware-default,mt7622bt firmware)
+define Package/mt7622bt-firmware/install
+       $(INSTALL_DIR) $(1)/lib/firmware/mediatek
+       $(INSTALL_DATA) \
+               $(PKG_BUILD_DIR)/mediatek/mt7622pr2h.bin \
+               $(1)/lib/firmware/mediatek
+endef
+$(eval $(call BuildPackage,mt7622bt-firmware))