1
0
forked from brl/citadel

SOF firmware updated to latest version

This commit is contained in:
Bruce Leidl 2023-09-27 07:34:45 -04:00
parent 3a579f6874
commit 350d9880a3
2 changed files with 22 additions and 24 deletions

View File

@ -1,24 +0,0 @@
DESCRIPTION = "SOF firmware files for use with Linux kernel"
HOMEPAGE = "https://github.com/thesofproject"
SECTION = "kernel"
SRCREV = "082fb0673f8488717c431801e4bc061d0dc2051c"
SRC_URI = "git://github.com/thesofproject/sof-bin.git;branch=main;protocol=https;destsuffix=sof-firmware"
S = "${WORKDIR}"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://sof-firmware/LICENCE.Intel;md5=54b4f1a2dd35fd85bc7a1d4afa731b78"
PV = "1.9"
FILES:${PN} += "/usr/lib/firmware/intel/*"
inherit allarch update-alternatives
do_install() {
install -v -d ${D}/usr/lib/firmware/intel/sof
install -v -d ${D}/usr/lib/firmware/intel/sof-tplg
cp -R ${S}/sof-firmware/v1.9.x/sof-v1.9/* ${D}/usr/lib/firmware/intel/sof
cp -R ${S}/sof-firmware/v1.9.x/sof-tplg-v1.9/* ${D}/usr/lib/firmware/intel/sof-tplg
}

View File

@ -0,0 +1,22 @@
DESCRIPTION = "SOF firmware files for use with Linux kernel"
HOMEPAGE = "https://github.com/thesofproject"
SECTION = "kernel"
SRC_URI = "https://github.com/thesofproject/sof-bin/releases/download/v${PV}/sof-bin-v${PV}.tar.gz"
SRC_URI[sha256sum] = "9322c2a7636d02845c3b26984d58ab8f78d63ff4c766d084c3196a585e000905"
S = "${WORKDIR}"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://sof-bin-v${PV}/LICENCE.Intel;md5=54b4f1a2dd35fd85bc7a1d4afa731b78"
FILES:${PN} += "/usr/lib/firmware/intel/*"
inherit allarch update-alternatives
do_install() {
install -v -d ${D}/usr/lib/firmware/intel/sof
install -v -d ${D}/usr/lib/firmware/intel/sof-tplg
cp -R ${S}/sof-bin-v${PV}/sof-v${PV}/* ${D}/usr/lib/firmware/intel/sof
cp -R ${S}/sof-bin-v${PV}/sof-tplg-v${PV}/* ${D}/usr/lib/firmware/intel/sof-tplg
}