diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2020-09-06 17:15:02 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-09-29 16:56:20 -0300 |
commit | 47fcbb4dd625864b97711904f8708a507c2f8186 (patch) | |
tree | eaac9b99f5c02e9f13d13f881e75e410d73df148 /recipes-bsp/firmware-imx | |
parent | 9232106eb6f44562d8584f6f890ea3d22f097bba (diff) | |
download | meta-freescale-47fcbb4dd625864b97711904f8708a507c2f8186.tar.gz |
firmware-sof-imx: introduce recipe for sof firmware
Introduce new recipe, which produces Sound Open Firmware package
required for imx8mp machine.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'recipes-bsp/firmware-imx')
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-sof-imx_1.5.0-1.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-sof-imx_1.5.0-1.bb b/recipes-bsp/firmware-imx/firmware-sof-imx_1.5.0-1.bb new file mode 100644 index 00000000..7ec06c5b --- /dev/null +++ b/recipes-bsp/firmware-imx/firmware-sof-imx_1.5.0-1.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | # Copyright (C) 2020 Mihai Lindner <mihai.lindner@nxp.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | DESCRIPTION = "Sound Open Firmware" | ||
5 | HOMEPAGE = "https://www.sofproject.org" | ||
6 | SECTION = "base" | ||
7 | LICENSE = "BSD-3-Clause" | ||
8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444" | ||
9 | |||
10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" | ||
11 | SRC_URI[md5sum] = "c03aa6a07570b2e7b8f60ab859b8f24a" | ||
12 | SRC_URI[sha256sum] = "d6fecb5f398ecce4fefb7f98a35c9c2741735ccc4668d676bcf53b1d4ebbe778" | ||
13 | |||
14 | S = "${WORKDIR}/sof-imx-${PV}" | ||
15 | |||
16 | inherit allarch | ||
17 | |||
18 | do_install() { | ||
19 | # Install sof and sof-tplg folder | ||
20 | install -d ${D}${nonarch_base_libdir}/firmware/imx/ | ||
21 | cp -r sof* ${D}${nonarch_base_libdir}/firmware/imx/ | ||
22 | } | ||
23 | |||
24 | FILES_${PN} = "${nonarch_base_libdir}/firmware/imx" | ||