summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
diff options
context:
space:
mode:
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.inc22
1 files changed, 2 insertions, 20 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 56a9ec4d..e33df444 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -1,6 +1,6 @@
1# Copyright (C) 2012-2016 Freescale Semiconductor 1# Copyright (C) 2012-2016 Freescale Semiconductor
2# Copyright (C) 2012-2018 O.S. Systems Software LTDA. 2# Copyright (C) 2012-2018 O.S. Systems Software LTDA.
3# Copyright 2017-2023 NXP 3# Copyright 2017-2024 NXP
4# Released under the MIT license (see COPYING.MIT for the terms) 4# Released under the MIT license (see COPYING.MIT for the terms)
5 5
6DESCRIPTION = "GPU driver and apps for i.MX" 6DESCRIPTION = "GPU driver and apps for i.MX"
@@ -20,11 +20,6 @@ DEPENDS += " \
20DEPENDS:append:imxdrm = " libdrm wayland" 20DEPENDS:append:imxdrm = " libdrm wayland"
21DEPENDS:append:mx8-nxp-bsp = " patchelf-native" 21DEPENDS:append:mx8-nxp-bsp = " patchelf-native"
22 22
23# imx-gpu-viv does not provide everything it needs to for virtual/libgl
24# on x11 backend or on Wayland backend with XWayland support.
25# We depend on mesa to fill in what is missing.
26DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa', '', d)}"
27
28DEPENDS:append:libc-musl = " gcompat" 23DEPENDS:append:libc-musl = " gcompat"
29 24
30PROVIDES += " \ 25PROVIDES += " \
@@ -40,7 +35,6 @@ EXTRA_PROVIDES = " \
40 ${PROVIDES_OPENVX} \ 35 ${PROVIDES_OPENVX} \
41" 36"
42EXTRA_PROVIDES:append:imxgpu3d = " \ 37EXTRA_PROVIDES:append:imxgpu3d = " \
43 virtual/libgl \
44 virtual/libgles1 \ 38 virtual/libgles1 \
45 virtual/libgles2 \ 39 virtual/libgles2 \
46" 40"
@@ -86,7 +80,6 @@ PACKAGECONFIG[valgrind] = ""
86 80
87# Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below 81# Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below
88PACKAGES =+ " \ 82PACKAGES =+ " \
89 libgl-imx libgl-imx-dev \
90 libgles1-imx libgles1-imx-dev \ 83 libgles1-imx libgles1-imx-dev \
91 libgles2-imx libgles2-imx-dev \ 84 libgles2-imx libgles2-imx-dev \
92 libgles3-imx-dev \ 85 libgles3-imx-dev \
@@ -149,7 +142,7 @@ python __anonymous() {
149 142
150 # For the packages that make up the OpenGL interfaces, inject variables so that 143 # For the packages that make up the OpenGL interfaces, inject variables so that
151 # they don't get Debian-renamed (which would remove the -imx suffix). 144 # they don't get Debian-renamed (which would remove the -imx suffix).
152 for p in (("libegl", "libegl1"), ("libgl", "libgl1"), 145 for p in (("libegl", "libegl1"),
153 ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"), 146 ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"),
154 ("libgles3",), ("libgbm",)): 147 ("libgles3",), ("libgbm",)):
155 fullp = p[0] + "-imx" 148 fullp = p[0] + "-imx"
@@ -291,8 +284,6 @@ do_install () {
291 if [ "${IS_MX6SL}" = "1" ]; then 284 if [ "${IS_MX6SL}" = "1" ]; then
292 rm -rf ${D}${libdir}/libCLC* ${D}${includedir}/CL \ 285 rm -rf ${D}${libdir}/libCLC* ${D}${includedir}/CL \
293 \ 286 \
294 ${D}${libdir}/libGL* ${D}${includedir}/GL* ${D}${libdir}/pkgconfig/gl.pc \
295 \
296 ${D}${libdir}/libGLES* ${D}${libdir}/pkgconfig/gles*.pc \ 287 ${D}${libdir}/libGLES* ${D}${libdir}/pkgconfig/gles*.pc \
297 \ 288 \
298 ${D}${libdir}/libOpenCL* ${D}${includedir}/CL \ 289 ${D}${libdir}/libOpenCL* ${D}${includedir}/CL \
@@ -377,15 +368,6 @@ OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx
377OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" 368OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev"
378INSANE_SKIP:libopenvx-imx += "dev-deps" 369INSANE_SKIP:libopenvx-imx += "dev-deps"
379 370
380FILES:libgl-imx = "${libdir}/libGL${REALSOLIBS} ${libdir}/libGL${SOLIBS}"
381FILES:libgl-imx-dev = "${includedir}/GL ${libdir}/pkgconfig/gl.pc"
382# libGL is only targeting X11 backend, and in case if Wayland-only is used -
383# package QA complains on missing RDEPENDS, which are only available for X11.
384# Skip "file-rdeps" QA for this package.
385INSANE_SKIP:libgl-imx += "file-rdeps"
386# libEGL does dlopen of libGL.so
387INSANE_SKIP:libgl-imx += "dev-so"
388
389FILES:libgles1-imx = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}" 371FILES:libgles1-imx = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}"
390FILES:libgles1-imx-dev = "${includedir}/GLES ${libdir}/pkgconfig/glesv1_cm.pc" 372FILES:libgles1-imx-dev = "${includedir}/GLES ${libdir}/pkgconfig/glesv1_cm.pc"
391RPROVIDES:libgles1-imx = "libgles-imx" 373RPROVIDES:libgles1-imx = "libgles-imx"