From 20c1612e983ae07a274a1deb36d347a98976ccf5 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Mon, 15 May 2023 14:34:45 -0700 Subject: imx-gpu-viv: Mark OpenCL as not provided for 7 and 8M Mini OpenCL is not supported for either i.MX 7 or 8M Mini. Signed-off-by: Tom Hochstein --- recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index a8534e5d..3f94c38c 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc @@ -30,15 +30,12 @@ DEPENDS:append:libc-musl = " gcompat" PROVIDES += " \ imx-gpu-viv \ libgal-imx \ - opencl-headers \ - opencl-clhpp \ - opencl-icd-loader \ virtual/egl \ virtual/libopenvg \ - virtual/opencl-icd \ ${EXTRA_PROVIDES} \ " EXTRA_PROVIDES = " \ + ${PROVIDES_OPENCL} \ ${PROVIDES_OPENGLES3} \ ${PROVIDES_OPENVX} \ " @@ -51,6 +48,15 @@ EXTRA_PROVIDES:append:mx8-nxp-bsp = " \ virtual/libgbm \ " +PROVIDES_OPENCL = " \ + opencl-headers \ + opencl-clhpp \ + opencl-icd-loader \ + virtual/opencl-icd \ +" +PROVIDES_OPENCL:mx7-nxp-bsp = "" +PROVIDES_OPENCL:mx8mm-nxp-bsp = "" + PROVIDES_OPENGLES3 = "" PROVIDES_OPENGLES3:mx8-nxp-bsp = "virtual/libgles3" PROVIDES_OPENGLES3:mx8mm-nxp-bsp = "" @@ -102,6 +108,7 @@ PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" PACKAGES_OPENCL = "libopencl-imx libopencl-imx-dev libclc-imx libclc-imx-dev" PACKAGES_OPENCL:mx7-nxp-bsp = "" +PACKAGES_OPENCL:mx8mm-nxp-bsp = "" PACKAGES_OPENVX = \ "${@bb.utils.contains("PROVIDES_OPENVX", "virtual/libopenvx", \ -- cgit v1.2.3-54-g00ecf