summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-10-01 15:35:10 -0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-10-01 20:38:06 +0000
commit9be29fe8a9f231a0be44007d480a30d337ee8478 (patch)
treecc3549f617db73910e1e59d234091f3024eb6fb9
parent3d3e2a4d55d6ab33c03c93a69260faf428fe274c (diff)
downloadmeta-freescale-9be29fe8a9f231a0be44007d480a30d337ee8478.tar.gz
imx-opencl-converter: Enable on Mali only with meta-oe and opencl
On Mali (i.MX 95) mali-imx ships only the OpenCL ICD, so virtual/libopencl1 comes from meta-oe's ICD loader, which also needs the opencl distro feature; without them world has no provider for it. Tested: bitbake -g world on imx95-19x19-verdin; buildhistory unchanged on imx8mp-lpddr4-evk and on imx95-19x19-verdin with meta-oe and opencl. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit b1d20d9bfaf696423b57e822515918bfd999a029)
-rw-r--r--recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb
index a11d221e4..f85215da0 100644
--- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb
+++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_git.bb
@@ -23,5 +23,8 @@ inherit pkgconfig meson
23FILES:${PN} += "${datadir}/" 23FILES:${PN} += "${datadir}/"
24 24
25COMPATIBLE_MACHINE = "(^$)" 25COMPATIBLE_MACHINE = "(^$)"
26COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)" 26COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp)"
27# Mali only ships the OpenCL ICD, so virtual/libopencl1 comes from meta-oe's
28# ICD loader, which also requires the opencl distro feature.
29COMPATIBLE_MACHINE:imxmali = "${@'(mx95-nxp-bsp)' if bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', True, False, d) and bb.utils.contains('DISTRO_FEATURES', 'opencl', True, False, d) else '(^$)'}"
27COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)" 30COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)"