FIRMWARE: Update Murata firmware
This commit is contained in:
parent
2ceba5ca27
commit
5f067c84d8
|
|
@ -0,0 +1,40 @@
|
||||||
|
FILESEXTRAPATHS_prepend_stm32mpcommon := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
|
# Add calibration file
|
||||||
|
SRC_URI_append_stm32mpcommon = " file://brcmfmac43430-sdio.txt "
|
||||||
|
SRC_URI_append_stm32mpcommon = " git://github.com/murata-wireless/cyw-fmac-fw.git;protocol=https;nobranch=1;name=murata;destsuffix=murata "
|
||||||
|
SRCREV_murata = "8d87950bfad28c65926695b7357bd8995b60016a"
|
||||||
|
SRCREV_FORMAT = "linux-firmware-murata"
|
||||||
|
|
||||||
|
do_install_append_stm32mpcommon() {
|
||||||
|
# Install calibration file
|
||||||
|
install -m 0644 ${WORKDIR}/brcmfmac43430-sdio.txt ${D}${nonarch_base_libdir}/firmware/brcm/
|
||||||
|
|
||||||
|
#take newest murata firmware
|
||||||
|
install -m 0644 ${WORKDIR}/murata/brcmfmac43430-sdio.bin ${D}${nonarch_base_libdir}/firmware/brcm/
|
||||||
|
install -m 0644 ${WORKDIR}/murata/brcmfmac43430-sdio.1DX.clm_blob ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.clm_blob
|
||||||
|
}
|
||||||
|
|
||||||
|
FILES_${PN}-bcm43430_append_stm32mpcommon = " \
|
||||||
|
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.txt \
|
||||||
|
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.clm_blob \
|
||||||
|
"
|
||||||
|
RDEPENDS_${PN}-bcm43430_remove_stm32mpcommon = " ${PN}-cypress-license "
|
||||||
|
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
# If user confiugres recipe in externalsrc, then we need to remove symlinks
|
||||||
|
# oe-logs and oe-workdir to avoid QA Error
|
||||||
|
if [ -n "${EXTERNALSRC}" ]; then
|
||||||
|
for item in ${EXTERNALSRC_SYMLINKS}; do
|
||||||
|
# Get symlink name
|
||||||
|
symlink=$(echo ${item} | cut -d':' -f1)
|
||||||
|
if [ -L ${D}${nonarch_base_libdir}/firmware/${symlink} ]; then
|
||||||
|
bbnote "Remove ${symlink} from ${D}${nonarch_base_libdir}/firmware/"
|
||||||
|
rm -rf ${D}${nonarch_base_libdir}/firmware/${symlink}
|
||||||
|
else
|
||||||
|
bbwarn "From externalsrc class, the ${symlink} is not a symlink"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue