aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuintin Hill <stuff@quintin.me.uk>2022-10-22 08:15:57 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-12 17:05:13 +0100
commit0bf512aa86678365aa2c7cd1dd1d6ae506ed7f62 (patch)
tree5e59f5b9589259e4f5f844932373d671e439b6ad
parentbc67c27283e1d0fa468c7fac5de9e864238305c7 (diff)
downloadupstream-0bf512aa86678365aa2c7cd1dd1d6ae506ed7f62.tar.gz
upstream-0bf512aa86678365aa2c7cd1dd1d6ae506ed7f62.tar.bz2
upstream-0bf512aa86678365aa2c7cd1dd1d6ae506ed7f62.zip
linux-firmware: add rtl8761 bluetooth firmware
Realtek bluetooth devices need firmware. Add packages for some of these. Tested on a WNDR3700v4 with rtl8761bu firmware. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
-rw-r--r--package/firmware/linux-firmware/realtek.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
index e06c3a6369..6d9238b8a4 100644
--- a/package/firmware/linux-firmware/realtek.mk
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -86,6 +86,29 @@ define Package/rtl8723bu-firmware/install
endef
$(eval $(call BuildPackage,rtl8723bu-firmware))
+Package/rtl8761a-firmware = $(call Package/firmware-default,RealTek RTL8761A firmware)
+define Package/rtl8761a-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtl_bt
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761a_fw.bin $(1)/lib/firmware/rtl_bt
+endef
+$(eval $(call BuildPackage,rtl8761a-firmware))
+
+Package/rtl8761b-firmware = $(call Package/firmware-default,RealTek RTL8761B firmware)
+define Package/rtl8761b-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtl_bt
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761b_config.bin $(1)/lib/firmware/rtl_bt
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761b_fw.bin $(1)/lib/firmware/rtl_bt
+endef
+$(eval $(call BuildPackage,rtl8761b-firmware))
+
+Package/rtl8761bu-firmware = $(call Package/firmware-default,RealTek RTL8761BU firmware)
+define Package/rtl8761bu-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/rtl_bt
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761bu_config.bin $(1)/lib/firmware/rtl_bt
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8761bu_fw.bin $(1)/lib/firmware/rtl_bt
+endef
+$(eval $(call BuildPackage,rtl8761bu-firmware))
+
Package/rtl8821ae-firmware = $(call Package/firmware-default,RealTek RTL8821AE firmware)
define Package/rtl8821ae-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/rtlwifi