]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bluez5: Point hciattach bcm43xx firmware search path to /lib/firmware
authorMarek Vasut <marex@denx.de>
Tue, 1 Nov 2022 21:34:46 +0000 (22:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Nov 2022 07:42:06 +0000 (07:42 +0000)
Currently the hciattach bcm43xx firmware loader looks up the firmware
blob in /etc/firmware . Change this to /lib/firmware instead, so that
the path is consistent with Linux kernel which also looks up firmware
for the WiFi part in /lib/firmware .

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-connectivity/bluez5/bluez5.inc

index f07e318897d4375525a4dfbdbbc8f5c3912488d6..a8eaba1dd6a8ed29d7a35e9b2b88d9061882820c 100644 (file)
@@ -68,6 +68,8 @@ EXTRA_OECONF = "\
   --without-zsh-completion-dir \
 "
 
+CFLAGS += "-DFIRMWARE_DIR=\\"${nonarch_base_libdir}/firmware\\""
+
 # bluez5 builds a large number of useful utilities but does not
 # install them.  Specify which ones we want put into ${PN}-noinst-tools.
 NOINST_TOOLS_READLINE ??= ""