]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv.inc: Allow libGL libraries to be installed without X11
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 2 Oct 2015 17:08:05 +0000 (14:08 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:20 +0000 (15:03 -0300)
The libGL libraries has been fixed to so the libraries can now be used
with the other backends. This removed the old FIXME item.

Change-Id: I99c7e68591a11fd590982690a8502bb60dc65513
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc

index 468849c8259bef2933db273c08740538988e96d3..1bc2848f7a4c35e1c541d4b48a5d1dbe5f1ac375 100644 (file)
@@ -198,16 +198,6 @@ do_install () {
     ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so.2
     ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so
 
-    # FIXME: The libGL.so* libraries depend on the X11 libraries and
-    # libglapi.so from mesa. For non-X11 distros, neither of them are listed
-    # as build dependencies, which can lead to non-deterministic package
-    # dependencies. If the intention is that the GL backend should be usable
-    # without X11, the linking should be fixed. For now just skip
-    # packaging them.
-    if [ "${USE_X11}" = "no" ]; then
-        rm ${D}${libdir}/libGL.*
-    fi
-
     # skip packaging wayland libraries if no support is requested
     if [ "${USE_WL}" = "no" ]; then
         rm ${D}${libdir}/libgc_wayland_protocol.*