1
0
forked from brl/citadel
citadel/meta-citadel/recipes-kernel/sof-firmware/sof-firmware.bb

25 lines
821 B
BlitzBasic
Raw Normal View History

2021-11-29 20:47:44 +00:00
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"
2021-11-29 20:47:44 +00:00
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/*"
2021-11-29 20:47:44 +00:00
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
}