diff options
| -rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 6 |
1 files changed, 5 insertions, 1 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 8eabb26ea..94d70564b 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
| @@ -188,6 +188,10 @@ IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" | |||
| 188 | 188 | ||
| 189 | LIBVULKAN_API_VERSION = "1.2.182" | 189 | LIBVULKAN_API_VERSION = "1.2.182" |
| 190 | 190 | ||
| 191 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION = "false" | ||
| 192 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION:mx8qm-nxp-bsp = "true" | ||
| 193 | SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION:mx8mp-nxp-bsp = "true" | ||
| 194 | |||
| 191 | do_install () { | 195 | do_install () { |
| 192 | install -d ${D}${libdir} | 196 | install -d ${D}${libdir} |
| 193 | install -d ${D}${includedir} | 197 | install -d ${D}${includedir} |
| @@ -258,7 +262,7 @@ do_install () { | |||
| 258 | install -d ${D}${sysconfdir}/OpenCL/vendors/ | 262 | install -d ${D}${sysconfdir}/OpenCL/vendors/ |
| 259 | install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd | 263 | install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd |
| 260 | 264 | ||
| 261 | if [ -z "${PACKAGES_OPENVX}" ]; then | 265 | if ! ${SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION}; then |
| 262 | rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h | 266 | rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h |
| 263 | fi | 267 | fi |
| 264 | fi | 268 | fi |
