diff options
| -rw-r--r-- | recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb index 336bf34d2..168ec6035 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb | |||
| @@ -26,11 +26,18 @@ HIFI4_PLATFORM:mx8dx-nxp-bsp = "imx8qmqxp" | |||
| 26 | HIFI4_PLATFORM:mx8mp-nxp-bsp = "imx8mp" | 26 | HIFI4_PLATFORM:mx8mp-nxp-bsp = "imx8mp" |
| 27 | HIFI4_PLATFORM:mx8ulp-nxp-bsp = "imx8ulp" | 27 | HIFI4_PLATFORM:mx8ulp-nxp-bsp = "imx8ulp" |
| 28 | 28 | ||
| 29 | UNSUPPORTED_TESTS = "dsp_tflm" | ||
| 30 | UNSUPPORTED_TESTS:mx8ulp-nxp-bsp = "" | ||
| 31 | |||
| 29 | do_install:append () { | 32 | do_install:append () { |
| 30 | # Remove firmware not for this platform | 33 | # Remove firmware not for this platform |
| 31 | find ${D}/${base_libdir}/firmware/imx/dsp -name hifi4_*.bin -not -name *${HIFI4_PLATFORM}* -exec rm {} \; | 34 | find ${D}/${base_libdir}/firmware/imx/dsp -name hifi4_*.bin -not -name *${HIFI4_PLATFORM}* -exec rm {} \; |
| 32 | # Set the expected generic name for the firmware | 35 | # Set the expected generic name for the firmware |
| 33 | mv ${D}/${base_libdir}/firmware/imx/dsp/hifi4_${HIFI4_PLATFORM}.bin ${D}/${base_libdir}/firmware/imx/dsp/hifi4.bin | 36 | mv ${D}/${base_libdir}/firmware/imx/dsp/hifi4_${HIFI4_PLATFORM}.bin ${D}/${base_libdir}/firmware/imx/dsp/hifi4.bin |
| 37 | # Remove unit tests not for this platform | ||
| 38 | for unsupported_test in ${UNSUPPORTED_TESTS}; do | ||
| 39 | find ${D}/unit_tests/DSP -name $unsupported_test* -exec rm {} \; | ||
| 40 | done | ||
| 34 | } | 41 | } |
| 35 | 42 | ||
| 36 | FILES:${PN} = "${libdir}/imx-mm/audio-codec/dsp \ | 43 | FILES:${PN} = "${libdir}/imx-mm/audio-codec/dsp \ |
