summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-viv
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2023-05-26 07:41:41 -0700
committerTom Hochstein <tom.hochstein@nxp.com>2023-05-27 06:53:50 -0700
commit6ec6cb2c5059235b18b1f26ef743381b276885db (patch)
tree43338de1dcfb25358656c0e7b44d61f58022cb06 /recipes-graphics/imx-gpu-viv
parent617d50bebb3bec40c58efd256df63fa2e9fa69cb (diff)
downloadmeta-freescale-6ec6cb2c5059235b18b1f26ef743381b276885db.tar.gz
imx-gpu-viv: Move cl_viv_vx_ext.h to libopencl-imx-dev
The header file cl_viv_vx_ext.h is an i.MX extension for VX intrinsic programming, enabling some specific OpenVX application to accelerate ML. It belongs with the other OpenCL headers files. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-graphics/imx-gpu-viv')
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc9
1 files changed, 6 insertions, 3 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 34034537..8eabb26e 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -107,7 +107,7 @@ PACKAGES =+ " \
107PACKAGES_GBM = "" 107PACKAGES_GBM = ""
108PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" 108PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev"
109 109
110PACKAGES_OPENCL = "libclc-imx libclc-imx-dev libopencl-imx libopencl-imx-dev" 110PACKAGES_OPENCL = "libclc-imx libopencl-imx libopencl-imx-dev"
111PACKAGES_OPENCL:mx7-nxp-bsp = "" 111PACKAGES_OPENCL:mx7-nxp-bsp = ""
112PACKAGES_OPENCL:mx8mm-nxp-bsp = "" 112PACKAGES_OPENCL:mx8mm-nxp-bsp = ""
113 113
@@ -248,7 +248,7 @@ do_install () {
248 248
249 if [ -z "${PACKAGES_OPENCL}" ]; then 249 if [ -z "${PACKAGES_OPENCL}" ]; then
250 set -f 250 set -f
251 for f in ${FILES:libopencl-imx} ${FILES:libopencl-imx-dev} ${FILES:libclc-imx} ${FILES:libclc-imx-dev}; do 251 for f in ${FILES:libopencl-imx} ${FILES:libopencl-imx-dev} ${FILES:libclc-imx}; do
252 set +f 252 set +f
253 rm -rf ${D}$f 253 rm -rf ${D}$f
254 done 254 done
@@ -257,6 +257,10 @@ do_install () {
257 # Install Vendor ICDs for OpenCL's installable client driver loader (ICDs Loader) 257 # Install Vendor ICDs for OpenCL's installable client driver loader (ICDs Loader)
258 install -d ${D}${sysconfdir}/OpenCL/vendors/ 258 install -d ${D}${sysconfdir}/OpenCL/vendors/
259 install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd 259 install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd
260
261 if [ -z "${PACKAGES_OPENVX}" ]; then
262 rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h
263 fi
260 fi 264 fi
261 265
262 if [ -z "${PACKAGES_OPENVX}" ]; then 266 if [ -z "${PACKAGES_OPENVX}" ]; then
@@ -328,7 +332,6 @@ do_install:append:libc-musl() {
328ALLOW_EMPTY:${PN} = "1" 332ALLOW_EMPTY:${PN} = "1"
329 333
330FILES:libclc-imx = "${libdir}/libCLC${SOLIBS}" 334FILES:libclc-imx = "${libdir}/libCLC${SOLIBS}"
331FILES:libclc-imx-dev = "${includedir}/CL/cl_viv_vx_ext.h"
332 335
333# libEGL.so is used by some demo apps from Freescale 336# libEGL.so is used by some demo apps from Freescale
334INSANE_SKIP:libegl-imx += "dev-so" 337INSANE_SKIP:libegl-imx += "dev-so"