diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-05-26 07:41:41 -0700 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2023-05-27 06:53:50 -0700 |
commit | 6ec6cb2c5059235b18b1f26ef743381b276885db (patch) | |
tree | 43338de1dcfb25358656c0e7b44d61f58022cb06 /recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |
parent | 617d50bebb3bec40c58efd256df63fa2e9fa69cb (diff) | |
download | meta-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/imx-gpu-viv-6.inc')
-rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 9 |
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 =+ " \ | |||
107 | PACKAGES_GBM = "" | 107 | PACKAGES_GBM = "" |
108 | PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" | 108 | PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" |
109 | 109 | ||
110 | PACKAGES_OPENCL = "libclc-imx libclc-imx-dev libopencl-imx libopencl-imx-dev" | 110 | PACKAGES_OPENCL = "libclc-imx libopencl-imx libopencl-imx-dev" |
111 | PACKAGES_OPENCL:mx7-nxp-bsp = "" | 111 | PACKAGES_OPENCL:mx7-nxp-bsp = "" |
112 | PACKAGES_OPENCL:mx8mm-nxp-bsp = "" | 112 | PACKAGES_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() { | |||
328 | ALLOW_EMPTY:${PN} = "1" | 332 | ALLOW_EMPTY:${PN} = "1" |
329 | 333 | ||
330 | FILES:libclc-imx = "${libdir}/libCLC${SOLIBS}" | 334 | FILES:libclc-imx = "${libdir}/libCLC${SOLIBS}" |
331 | FILES: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 |
334 | INSANE_SKIP:libegl-imx += "dev-so" | 337 | INSANE_SKIP:libegl-imx += "dev-so" |