mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-08-21 16:31:42 +02:00
36 lines
1.2 KiB
BlitzBasic
36 lines
1.2 KiB
BlitzBasic
# Copyright 2025 NXP
|
|
|
|
DESCRIPTION = "NXP Audio Front End (AFE) for incorporating Voice Assistants"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=7bdef19938f3503cfc4c586461f99012"
|
|
|
|
PV = "1.0+git"
|
|
|
|
SRCBRANCH = "MM_04.10.0_2505_L6.12.20"
|
|
SRC_URI = " git://github.com/nxp-imx/nxp-afe.git;protocol=https;branch=${SRCBRANCH}"
|
|
|
|
SRCREV = "c6b8fee21376e724b8441f3cf6c04dee69b5242e"
|
|
|
|
DEPENDS += "alsa-lib"
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|
|
do_compile() {
|
|
oe_runmake clean
|
|
oe_runmake all
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${libdir}/nxp-afe
|
|
install -d ${D}/unit_tests/nxp-afe
|
|
install -m 0644 ${UNPACKDIR}/deploy_afe/*.so.1.0 ${D}${libdir}/nxp-afe
|
|
ln -sf -r ${D}${libdir}/nxp-afe/libdummyimpl.so.1.0 ${D}${libdir}/nxp-afe/libdummyimpl.so
|
|
install -m 0755 ${UNPACKDIR}/deploy_afe/afe ${D}/unit_tests/nxp-afe
|
|
install -m 0644 ${UNPACKDIR}/deploy_afe/asound.conf* ${D}/unit_tests/nxp-afe
|
|
install -m 0644 ${UNPACKDIR}/deploy_afe/TODO.md ${D}/unit_tests/nxp-afe
|
|
install -m 0755 ${UNPACKDIR}/deploy_afe/UAC_VCOM_composite.sh ${D}/unit_tests/nxp-afe
|
|
}
|
|
|
|
FILES:${PN} += "/unit_tests"
|
|
INSANE_SKIP:${PN} += "dev-so"
|