[Buildroot] [git commit branch/2021.11.x] package/rtl8723bu: fix firmware install path

Peter Korsgaard peter at korsgaard.com
Wed Feb 16 20:28:20 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=32181572eba91a6a58fdfff0cf92df940be99b97
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.11.x

The rtl8723b_fw.bin file installed by this package is not actually used
by this driver at all. It is used by the btrtl Bluetooth driver in the
mainline kernel. The mainline btrtl driver looks for the file in
/lib/firmware/rtl_bt rather than /lib/firmware/rtlwifi. This driver's
Makefile has an install target that confirms the correct destination
firmware directory. It was like that since the very first version that
was added to Buildroot.

Signed-off-by: Doug Brown <doug at schmorgal.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit 657d9731cf52dd7e9a2564ba68ce19e675c1eaee)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/rtl8723bu/rtl8723bu.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rtl8723bu/rtl8723bu.mk b/package/rtl8723bu/rtl8723bu.mk
index e490bddf09..838bbedb74 100644
--- a/package/rtl8723bu/rtl8723bu.mk
+++ b/package/rtl8723bu/rtl8723bu.mk
@@ -13,7 +13,7 @@ RTL8723BU_MODULE_MAKE_OPTS = \
 	KSRC=$(LINUX_DIR)
 
 define RTL8723BU_INSTALL_TARGET_CMDS
-	$(INSTALL) -D -m 644 $(@D)/rtl8723b_fw.bin $(TARGET_DIR)/lib/firmware/rtlwifi/rtl8723b_fw.bin
+	$(INSTALL) -D -m 644 $(@D)/rtl8723b_fw.bin $(TARGET_DIR)/lib/firmware/rtl_bt/rtl8723b_fw.bin
 endef
 
 $(eval $(kernel-module))



More information about the buildroot mailing list