summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-06-29 13:41:14 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-06-30 16:39:56 -0300
commitc8ebbee296090231755ae9ec1a950ade3f4aa64b (patch)
treee9d334b0b96ef2cbe3793e7b58511236519ffc8d
parent7011d36e88f16d17349df86953e9cf761da50417 (diff)
downloadmeta-freescale-c8ebbee296090231755ae9ec1a950ade3f4aa64b.tar.gz
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 <luciano.dittgen@ossystems.com.br>
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio_%.bbappend6
1 files 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 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/imx-nxp-bsp:" 1FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp:"
2 2
3SRC_URI += "${SRC_URI_IMX}" 3SRC_URI:append:imx-nxp-bsp = " ${SRC_URI_IMX}"
4SRC_URI_IMX = "" 4SRC_URI_IMX = ""
5SRC_URI_IMX:mx6-nxp-bsp = " \ 5SRC_URI_IMX:mx6-nxp-bsp = " \
6 file://0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch \ 6 file://0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch \
@@ -16,7 +16,7 @@ SRC_URI_IMX:mx9-nxp-bsp = " \
16 16
17CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no" 17CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no"
18 18
19do_install:append() { 19do_install:append:imx-nxp-bsp() {
20 if [ -e "${UNPACKDIR}/daemon.conf" ] && [ -e "${UNPACKDIR}/default.pa" ]; then 20 if [ -e "${UNPACKDIR}/daemon.conf" ] && [ -e "${UNPACKDIR}/default.pa" ]; then
21 install -m 0644 ${UNPACKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf 21 install -m 0644 ${UNPACKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf
22 install -m 0644 ${UNPACKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa 22 install -m 0644 ${UNPACKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa