summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-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"