Hi Marek,

Marek Vasut <[email protected]> escreveu no dia segunda, 31/10/2022 à(s) 16:30:

> 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 <[email protected]>
> ---
> Cc: Alexander Kanavin <[email protected]>
> Cc: Alexandre Belloni <[email protected]>
> Cc: Richard Purdie <[email protected]>
> ---
>  meta/recipes-connectivity/bluez5/bluez5.inc | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc
> b/meta/recipes-connectivity/bluez5/bluez5.inc
> index f07e318897..fe10be7324 100644
> --- a/meta/recipes-connectivity/bluez5/bluez5.inc
> +++ b/meta/recipes-connectivity/bluez5/bluez5.inc
> @@ -68,6 +68,8 @@ EXTRA_OECONF = "\
>    --without-zsh-completion-dir \
>  "
>
> +CFLAGS:append = " -DFIRMWARE_DIR=\\"/lib/firmware\\""
>

Escape chars can be tricky when parsing and as the path
doesn't have any space we can have " -DFIRMWARE_DIR=/lib/firmware"
or not?

Another options to avoid escape chars can be
CFLAGS:append = ' -DFIRMWARE_DIR="/lib/firmware"'

Jose


> +
>  # 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 ??= ""
> --
> 2.35.1
>
>
> 
>
>

-- 
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172333): 
https://lists.openembedded.org/g/openembedded-core/message/172333
Mute This Topic: https://lists.openembedded.org/mt/94689423/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to