diff --git a/mk_mmc.sh b/mk_mmc.sh index 6093776..bb855fc 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -738,7 +738,9 @@ dl_device_firmware () { echo "Adding Firmware for onboard WiFi/Bluetooth module" echo "-----------------------------" mkdir -p ${TEMPDIR}/firmware/brcm/ - cp -v "${DIR}/dl/linux-firmware/brcm/brcmfmac4329.bin" ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.bin + if [ -f "${DIR}/dl/linux-firmware/brcm/brcmfmac4329-sdio.bin" ] + cp -v "${DIR}/dl/linux-firmware/brcm/brcmfmac4329-sdio.bin" ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.bin + fi wget --directory-prefix=${TEMPDIR}/firmware/brcm/ https://raw.github.com/Freescale/meta-fsl-arm-extra/master/recipes-bsp/broadcom-nvram-config/files/wandboard/nvram.txt mv -v ${TEMPDIR}/firmware/brcm/nvram.txt ${TEMPDIR}/firmware/brcm/brcmfmac-sdio.txt fi