firmware-nxp-wifi: Enable nullglob

makes the glob expand to nothing when there are no matches, so the loop body never executes.

Fixes
| install: cannot stat 'cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie*': No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2026-01-09 00:14:34 -08:00
parent 5b62375cf3
commit c80fa8668f
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -30,6 +30,8 @@ do_install() {
install -d ${D}${nonarch_base_libdir}/firmware/nxp
install -d ${D}${nonarch_base_libdir}/firmware/brcm/
shopt -s nullglob
# Install bcm4359-pcie
for f in cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie*; do
install -D -m 0644 $f ${D}${nonarch_base_libdir}/firmware/brcm/$(basename $f)
@ -43,6 +45,8 @@ do_install() {
install -D -m 0644 $f ${D}${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/$(basename $f)
done
shopt -u nullglob
oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp
# Upstream SDIO8997 and IW416 driver firmwares are located on mrvl folder