From c8ebbee296090231755ae9ec1a950ade3f4aa64b Mon Sep 17 00:00:00 2001 From: Luciano Dittgen Date: Mon, 29 Jun 2026 13:41:14 -0300 Subject: pulseaudio: Scope i.MX audio changes The PulseAudio patches and install hook are specific to i.MX BSP machines. Apply them through i.MX overrides so the bbappend does not alter PulseAudio for unrelated machines. Tested as part of the series with bitbake -p and yocto-check-layer. Signed-off-by: Luciano Dittgen --- recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index 6e4db9110..7f5a7ffbe 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend @@ -1,6 +1,6 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/imx-nxp-bsp:" +FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp:" -SRC_URI += "${SRC_URI_IMX}" +SRC_URI:append:imx-nxp-bsp = " ${SRC_URI_IMX}" SRC_URI_IMX = "" SRC_URI_IMX:mx6-nxp-bsp = " \ file://0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch \ @@ -16,7 +16,7 @@ SRC_URI_IMX:mx9-nxp-bsp = " \ CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no" -do_install:append() { +do_install:append:imx-nxp-bsp() { if [ -e "${UNPACKDIR}/daemon.conf" ] && [ -e "${UNPACKDIR}/default.pa" ]; then install -m 0644 ${UNPACKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf install -m 0644 ${UNPACKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa -- cgit v1.2.3-54-g00ecf