Skip to content

Commit

Permalink
Update to scarthgap release
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlennon committed Nov 25, 2024
1 parent 8086f06 commit 3911a82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
# Copyright 2021-2022 NXP
# Copyright 2021-2024 NXP

DESCRIPTION = "NXP RetuneDSP Voice Seeker Libraries"
SECTION = "multimedia"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://EULA.txt;md5=5a0bf11f745e68024f37b4724a5364fe"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca53281cc0caa7e320d4945a896fb837"

inherit autotools pkgconfig

DEPENDS += "alsa-lib nxp-afe"

SRCBRANCH = "MM_04.07.02_2210_L5.15.y"
SRCBRANCH = "MM_04.09.01_2408_L6.6.y"
PV = "2.0+${SRCPV}"

NXPAFE_VOICESEEKER_SRC ?= "git://github.com/nxp-imx/imx-voiceui.git;protocol=https"
SRC_URI = "${NXPAFE_VOICESEEKER_SRC};branch=${SRCBRANCH}"

SRCREV = "ea810018d436a47fa19b40910cc6ce427c43bfc9"
SRCREV = "b77f85a201a2725a092ece7b99773ee566a66091"
S = "${WORKDIR}/git"

EXTRA_CONF = "--enable-armv8 --bindir=/unit_tests/ --libdir=/usr/lib/"
EXTRA_CONF = "--enable-armv8 --bindir=/unit_tests/ --libdir=${libdir}"

EXTRA_OEMAKE:mx8-nxp-bsp = "BUILD_ARCH=CortexA53"
EXTRA_OEMAKE:mx93-nxp-bsp = "BUILD_ARCH=CortexA55"
EXTRA_OEMAKE:mx8ulp-nxp-bsp = "BUILD_ARCH=CortexA35"
EXTRA_OEMAKE:mx9-nxp-bsp = "BUILD_ARCH=CortexA55"

do_compile () {
echo "====Enter into ${WORKDIR}/git===="
Expand All @@ -36,7 +37,6 @@ do_install() {
install -m 0644 ${WORKDIR}/git/release/*.so.2.0 ${D}${libdir}/nxp-afe/
ln -sf -r ${D}${libdir}/nxp-afe/libvoiceseekerlight.so.2.0 ${D}${libdir}/nxp-afe/libvoiceseekerlight.so
install -m 0755 ${WORKDIR}/git/release/voice_ui_app ${D}/unit_tests/nxp-afe
install -m 0644 ${WORKDIR}/git/release/*.bin ${D}/unit_tests/nxp-afe
install -m 0644 ${WORKDIR}/git/release/Config.ini ${D}/unit_tests/nxp-afe
}

Expand Down
5 changes: 3 additions & 2 deletions recipes-multimedia/nxp-afe/nxp-afe_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7bdef19938f3503cfc4c586461f99012"

PV = "1.0+git${SRCPV}"

SRCBRANCH = "MM_04.07.02_2210_L5.15.y"
SRCBRANCH = "MM_04.09.01_2408_L6.6.y"
NXPAFE_SRC ?= "git://github.com/nxp-imx/nxp-afe.git;protocol=https"
SRC_URI = " \
${NXPAFE_SRC};branch=${SRCBRANCH} \
"

SRCREV = "18a6c3f79f7021fb5da17a6c8601cb04be6f4c95"
SRCREV = "ace13427f731e0549ff1ad8f2720fd3af82abbd6"

S = "${WORKDIR}/git"

Expand All @@ -33,6 +33,7 @@ do_install() {
install -m 0755 ${WORKDIR}/deploy_afe/afe ${D}/unit_tests/nxp-afe
install -m 0644 ${WORKDIR}/deploy_afe/asound.conf* ${D}/unit_tests/nxp-afe
install -m 0644 ${WORKDIR}/deploy_afe/TODO.md ${D}/unit_tests/nxp-afe
install -m 0755 ${WORKDIR}/deploy_afe/UAC_VCOM_composite.sh ${D}/unit_tests/nxp-afe
}

FILES:${PN} += "/unit_tests"
Expand Down

0 comments on commit 3911a82

Please sign in to comment.