diff mbox series

linux-firmware: add Bluetooth firmware for Realtek RTL8821C

Message ID 20240713130142.1311879-1-jan@3e8.eu
State New
Headers show
Series linux-firmware: add Bluetooth firmware for Realtek RTL8821C | expand

Commit Message

Jan Hoffmann July 13, 2024, 1:01 p.m. UTC
RTL8821C has built-in Bluetooth, but it requires additional firmware.
Add it to the existing rtl8821ce-firmware package.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
---
 package/firmware/linux-firmware/realtek.mk | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
index 5ba679d40492..90c4948824ec 100644
--- a/package/firmware/linux-firmware/realtek.mk
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -143,6 +143,9 @@  $(eval $(call BuildPackage,rtl8821ae-firmware))
 
 Package/rtl8821ce-firmware = $(call Package/firmware-default,RealTek RTL8821CE firmware)
 define Package/rtl8821ce-firmware/install
+	$(INSTALL_DIR) $(1)/lib/firmware/rtl_bt
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8821c_config.bin $(1)/lib/firmware/rtl_bt
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtl_bt/rtl8821c_fw.bin $(1)/lib/firmware/rtl_bt
 	$(INSTALL_DIR) $(1)/lib/firmware/rtw88
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/rtw88/rtw8821c_fw.bin $(1)/lib/firmware/rtw88
 endef