summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2020-09-08 12:45:45 -0700
committerOtavio Salvador <otavio@ossystems.com.br>2020-09-23 23:42:37 -0300
commitaa5521274f88d4d652d271cae814662f569b67ff (patch)
treec56abe5ff73841394595252bbc8b7cc0aef3deb9
parent9e231483b103f40502f16b78692a9f928cf78b45 (diff)
downloadmeta-freescale-aa5521274f88d4d652d271cae814662f569b67ff.tar.gz
imx-gpu-viv: Fix packaging for various libraries
Fix several packages so we don't put .so files in the main package (QA error dev-so). Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc26
1 files changed, 10 insertions, 16 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 0194cfc1..7b05311e 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -298,10 +298,8 @@ ALLOW_EMPTY_${PN} = "1"
298FILES_libclc-imx = "${libdir}/libCLC${SOLIBS}" 298FILES_libclc-imx = "${libdir}/libCLC${SOLIBS}"
299FILES_libclc-imx-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" 299FILES_libclc-imx-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}"
300 300
301# libEGL.so is used by some demo apps from Freescale 301FILES_libegl-imx = "${libdir}/libEGL${REALSOLIBS}"
302INSANE_SKIP_libegl-imx += "dev-so" 302FILES_libegl-imx-dev = "${libdir}/libEGL${SOLIBSDEV} ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
303FILES_libegl-imx = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} "
304FILES_libegl-imx-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
305 303
306FILES_libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" 304FILES_libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}"
307FILES_libgal-imx-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" 305FILES_libgal-imx-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL"
@@ -320,26 +318,22 @@ FILES_libvulkan-imx = "${libdir}/libvulkan_VSI${REALSOLIBS} ${libdir}/libSPIRV_v
320FILES_libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" 318FILES_libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}"
321 319
322FILES_libopenvx-imx = " \ 320FILES_libopenvx-imx = " \
323 ${libdir}/libOpenVX*${SOLIBS} \ 321 ${libdir}/libOpenVX${REALSOLIBS} \
322 ${libdir}/libOpenVXU${SOLIBS} \
324 ${libdir}/libOvx*${SOLIBS} \ 323 ${libdir}/libOvx*${SOLIBS} \
325 ${libdir}/libovx*${SOLIBS} \
326 " 324 "
327FILES_libopenvx-imx-dev = "${includedir}/VX ${includedir}/OVXLIB" 325FILES_libopenvx-imx-dev = "${libdir}/libOpenVX${SOLIBSDEV} ${includedir}/VX ${includedir}/OVXLIB"
328RDEPENDS_libopenvx-imx = "libnn-imx" 326RDEPENDS_libopenvx-imx = "libnn-imx"
329 327
330FILES_libgl-imx = "${libdir}/libGL${REALSOLIBS}" 328FILES_libgl-imx = "${libdir}/libGL${REALSOLIBS}"
331FILES_libgl-imx-dev = "${libdir}/libGL${SOLIBSDEV} ${includedir}/GL" 329FILES_libgl-imx-dev = "${libdir}/libGL${SOLIBSDEV} ${includedir}/GL"
332 330
333# libEGL needs to open libGLESv1.so 331FILES_libgles1-imx = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLES_*${REALSOLIBS}"
334INSANE_SKIP_libgles1-imx += "dev-so" 332FILES_libgles1-imx-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBSDEV} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc"
335FILES_libgles1-imx = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}"
336FILES_libgles1-imx-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc"
337RPROVIDES_libgles1-imx = "libgles-imx" 333RPROVIDES_libgles1-imx = "libgles-imx"
338RPROVIDES_libgles1-imx-dev = "libgles-imx-dev" 334RPROVIDES_libgles1-imx-dev = "libgles-imx-dev"
339 335
340# libEGL needs to open libGLESv2.so 336FILES_libgles2-imx = "${libdir}/libGLESv2${REALSOLIBS}"
341INSANE_SKIP_libgles2-imx += "dev-so"
342FILES_libgles2-imx = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}"
343FILES_libgles2-imx-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" 337FILES_libgles2-imx-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc"
344RDEPENDS_libgles2-imx = "libglslc-imx" 338RDEPENDS_libgles2-imx = "libglslc-imx"
345 339
@@ -351,7 +345,7 @@ RDEPENDS_libgles2-imx-dev += "libgles3-imx-dev"
351FILES_libglslc-imx = "${libdir}/libGLSLC${SOLIBS}" 345FILES_libglslc-imx = "${libdir}/libGLSLC${SOLIBS}"
352FILES_libglslc-imx-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" 346FILES_libglslc-imx-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}"
353 347
354FILES_libopencl-imx = "${libdir}/libOpenCL${SOLIBS} \ 348FILES_libopencl-imx = "${libdir}/libOpenCL${REALSOLIBS} \
355 ${libdir}/libVivanteOpenCL${SOLIBS} \ 349 ${libdir}/libVivanteOpenCL${SOLIBS} \
356 ${libdir}/libLLVM_viv${SOLIBS} \ 350 ${libdir}/libLLVM_viv${SOLIBS} \
357 ${sysconfdir}/OpenCL/vendors/Vivante.icd" 351 ${sysconfdir}/OpenCL/vendors/Vivante.icd"
@@ -383,7 +377,7 @@ FILES_imx-gpu-viv-tools = "${bindir}/gmem_info"
383FILES_imx-gpu-viv-demos = "/opt" 377FILES_imx-gpu-viv-demos = "/opt"
384INSANE_SKIP_imx-gpu-viv-demos += "rpaths dev-deps" 378INSANE_SKIP_imx-gpu-viv-demos += "rpaths dev-deps"
385 379
386FILES_libnn-imx = "${libdir}/libNN*${SOLIBS} ${libdir}/libnn*${SOLIBS} ${libdir}/libneuralnetworks${SOLIBS}" 380FILES_libnn-imx = "${libdir}/libNN*${SOLIBS} ${libdir}/libneuralnetworks${SOLIBS}"
387FILES_libnn-imx-dev = "${includedir}/nnrt" 381FILES_libnn-imx-dev = "${includedir}/nnrt"
388 382
389# COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx8)" 383# COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx8)"