diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-10-01 15:35:10 -0300 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-10-01 20:38:06 +0000 |
| commit | 9be29fe8a9f231a0be44007d480a30d337ee8478 (patch) | |
| tree | cc3549f617db73910e1e59d234091f3024eb6fb9 | |
| parent | 3d3e2a4d55d6ab33c03c93a69260faf428fe274c (diff) | |
| download | meta-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.bb | 5 |
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 | |||
| 23 | FILES:${PN} += "${datadir}/" | 23 | FILES:${PN} += "${datadir}/" |
| 24 | 24 | ||
| 25 | COMPATIBLE_MACHINE = "(^$)" | 25 | COMPATIBLE_MACHINE = "(^$)" |
| 26 | COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)" | 26 | COMPATIBLE_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. | ||
| 29 | COMPATIBLE_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 '(^$)'}" | ||
| 27 | COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)" | 30 | COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)" |
