diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2023-05-30 12:49:13 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-30 12:49:13 -0300 |
| commit | 4b77020881dc8f885c41d9744a4eb994024018c4 (patch) | |
| tree | 757c70526d121d23b45fbfa4389b43bd1b70b5c4 | |
| parent | 1ddcebdfa8bb68ee31cc09dd7bfb0d862bdcfde1 (diff) | |
| parent | 6ec6cb2c5059235b18b1f26ef743381b276885db (diff) | |
| download | meta-freescale-4b77020881dc8f885c41d9744a4eb994024018c4.tar.gz | |
Merge pull request #1546 from thochstein/libclc-imx
imx-gpu-viv: Move cl_viv_vx_ext.h out of libclc-imx-dev
| -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 34034537d..8eabb26ea 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" |
