meta-imx/meta-imx-bsp/recipes-kernel/linux-firmware/sof-zephyr_2.15.0.bb
i.MX Yocto Project Release a4bc8dba71 sof-zephyr: Update sof-zephyr_2.15.0.bb to commit 5c9f7b7
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2025-08-26 12:25:00 +02:00

35 lines
1.3 KiB
BlitzBasic

# Copyright (C) 2020-2024 NXP
# Released under the MIT license (see COPYING.MIT for the terms)
# The recipe is licensed under MIT (see COPYING.MIT for the terms)
DESCRIPTION = "Sound Open Firmware with Zephyr"
HOMEPAGE = "https://www.sofproject.org"
SECTION = "kernel"
LICENSE = "Apache-2.0 & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc \
file://LICENCE-sof;md5=14abb55d71048ebecff1a104640546b6 \
"
SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.tar.gz"
SRC_URI[sha256sum] = "611a67eab1075e696e6b72ba7e2e028d65f999f0b723b4cfccb9d74683f80974"
IMX_SRCREV_ABBREV = "5c9f7b7"
inherit allarch
do_install() {
# Install firmware image
install -d ${D}${nonarch_base_libdir}/firmware/imx/sof-zephyr-gcc
install -d ${D}${nonarch_base_libdir}/firmware/imx/sof-zephyr-xcc
cp -r sof-zephyr-gcc/* ${D}${nonarch_base_libdir}/firmware/imx/sof-zephyr-gcc
cp -r sof-zephyr-xcc/* ${D}${nonarch_base_libdir}/firmware/imx/sof-zephyr-xcc
cp -r sof-tplg ${D}${nonarch_base_libdir}/firmware/imx/
# Copy symbolic link
if [ ${OEI_SOC} = "mx95" ]; then
rm -rf sof
ln -sf sof-zephyr-gcc sof
fi
cp -P sof ${D}${nonarch_base_libdir}/firmware/imx/
}
FILES:${PN} = "${nonarch_base_libdir}/firmware/imx/sof*"