From: Quintin Hill Date: Sat, 22 Oct 2022 07:15:57 +0000 (+0100) Subject: linux-firmware: add rtl8761 bluetooth firmware X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0bf512aa86678365aa2c7cd1dd1d6ae506ed7f62;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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