All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH v5 1/6] gpu-viv-bin-mx6q: Include sololite changes to remove 3D libraries.
@ 2014-08-18 20:10 Neena Busireddy
  2014-08-18 20:10 ` [meta-fsl-arm][PATCH v5 2/6] cairo: Update recipe to support Sololite Neena Busireddy
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Neena Busireddy @ 2014-08-18 20:10 UTC (permalink / raw)
  To: meta-freescale

Sololite does not support 3D GPU hardware acceleration.Hence, remove
all the 3D libraries from graphics package for this machine.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
---
 .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc          |   25 +++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 912063d..153e883 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -11,7 +11,9 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamag
                              base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
                                            '', d), d)}"
 
-PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 virtual/libopenvg"
+PROVIDES += "virtual/wayland-egl virtual/libgal-x11 virtual/egl virtual/libopenvg"
+PROVIDES_append_mx6q  = " virtual/libgl virtual/libgles1 virtual/libgles2"
+PROVIDES_append_mx6dl  = " virtual/libgl virtual/libgles1 virtual/libgles2"
 
 PE = "1"
 
@@ -104,6 +106,9 @@ python __anonymous() {
         d.appendVar("RCONFLICTS_" + fullp, pkgs)
 }
 
+IS_MX6SL = "0"
+IS_MX6SL_mx6sl = "1"
+
 do_install () {
     install -d ${D}${libdir}
     install -d ${D}${includedir}
@@ -184,6 +189,23 @@ do_install () {
     for backend in wl x11 fb dfb; do
         find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';'
     done
+# FIXME: MX6SL does not have 3D support; hack it for now
+    if [ "${IS_MX6SL}" = "1" ]; then
+        rm -rf ${D}${libdir}/libCLC* ${D}${includedir}/CL \
+               \
+               ${D}${libdir}/libGL* ${D}${includedir}/GL* \ 
+               \
+               ${D}${libdir}/libGLES* \
+               \
+               ${D}${libdir}/libOpenCL* \
+               \
+               ${D}${libdir}/libOpenVG.so ${D}${libdir}/libOpenVG_3D.so \
+               \
+               ${D}/opt/viv_samples/vdk \
+               ${D}/opt/viv_samples/es20 ${D}/opt/viv_samples/cl11
+
+        ln -sf ${D}${libdir}/libOpenVG_355.so ${D}${libdir}/libOpenVG.so
+    fi
 
     find ${D}${libdir} -type f -exec chmod 644 {} \;
     find ${D}${includedir} -type f -exec chmod 644 {} \;
@@ -233,6 +255,7 @@ FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}"
 FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}"
 RDEPENDS_libopencl-mx6 = "libclc-mx6"
 
+INSANE_SKIP_libopenvg-mx6 += "dev-so"
 FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}"
 FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc"
 FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-08-23 19:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-18 20:10 [meta-fsl-arm][PATCH v5 1/6] gpu-viv-bin-mx6q: Include sololite changes to remove 3D libraries Neena Busireddy
2014-08-18 20:10 ` [meta-fsl-arm][PATCH v5 2/6] cairo: Update recipe to support Sololite Neena Busireddy
2014-08-18 20:10 ` [meta-fsl-arm][PATCH v5 3/6] mesa: Update mesa and mesa-demos " Neena Busireddy
2014-08-18 20:10 ` [meta-fsl-arm][PATCH v5 4/6] glmark2: Create bbappend to include Sololite changes Neena Busireddy
2014-08-23 16:53   ` Jacob Kroon
2014-08-23 18:41     ` Otavio Salvador
2014-08-23 19:07       ` Jacob Kroon
2014-08-18 20:10 ` [meta-fsl-arm][PATCH v5 5/6] weston: Add sololite changes Neena Busireddy
2014-08-20 17:11   ` Otavio Salvador
2014-08-20 19:14     ` Neena Busireddy
2014-08-18 20:10 ` [meta-fsl-arm][PATCH v5 6/6] imx-base: Add MACHINE_ARCH filter for sololite Neena Busireddy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.