diff options
author | Neena Busireddy <neena.busireddy@freescale.com> | 2014-08-18 15:10:45 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-08-20 17:38:57 -0300 |
commit | ab831594761315f4ed3ef06091faca5d5c1f889e (patch) | |
tree | 7901bc6eac9743697cd1e63115f1064a95f9e992 | |
parent | 03c46d3a3b13a6484deac98740150012b6f79932 (diff) | |
download | meta-fsl-arm-ab831594761315f4ed3ef06091faca5d5c1f889e.tar.gz |
gpu-viv-bin-mx6q: Include sololite changes to remove 3D libraries.
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>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 26 |
1 files changed, 25 insertions, 1 deletions
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..4fb9172 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 | |||
11 | base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 11 | base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
12 | '', d), d)}" | 12 | '', d), d)}" |
13 | 13 | ||
14 | PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 virtual/libopenvg" | 14 | PROVIDES += "virtual/wayland-egl virtual/libgal-x11 virtual/egl virtual/libopenvg" |
15 | PROVIDES_append_mx6q = " virtual/libgl virtual/libgles1 virtual/libgles2" | ||
16 | PROVIDES_append_mx6dl = " virtual/libgl virtual/libgles1 virtual/libgles2" | ||
15 | 17 | ||
16 | PE = "1" | 18 | PE = "1" |
17 | 19 | ||
@@ -104,6 +106,9 @@ python __anonymous() { | |||
104 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | 106 | d.appendVar("RCONFLICTS_" + fullp, pkgs) |
105 | } | 107 | } |
106 | 108 | ||
109 | IS_MX6SL = "0" | ||
110 | IS_MX6SL_mx6sl = "1" | ||
111 | |||
107 | do_install () { | 112 | do_install () { |
108 | install -d ${D}${libdir} | 113 | install -d ${D}${libdir} |
109 | install -d ${D}${includedir} | 114 | install -d ${D}${includedir} |
@@ -185,6 +190,24 @@ do_install () { | |||
185 | find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';' | 190 | find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';' |
186 | done | 191 | done |
187 | 192 | ||
193 | # FIXME: MX6SL does not have 3D support; hack it for now | ||
194 | if [ "${IS_MX6SL}" = "1" ]; then | ||
195 | rm -rf ${D}${libdir}/libCLC* ${D}${includedir}/CL \ | ||
196 | \ | ||
197 | ${D}${libdir}/libGL* ${D}${includedir}/GL* \ | ||
198 | \ | ||
199 | ${D}${libdir}/libGLES* \ | ||
200 | \ | ||
201 | ${D}${libdir}/libOpenCL* \ | ||
202 | \ | ||
203 | ${D}${libdir}/libOpenVG.so ${D}${libdir}/libOpenVG_3D.so \ | ||
204 | \ | ||
205 | ${D}/opt/viv_samples/vdk \ | ||
206 | ${D}/opt/viv_samples/es20 ${D}/opt/viv_samples/cl11 | ||
207 | |||
208 | ln -sf ${D}${libdir}/libOpenVG_355.so ${D}${libdir}/libOpenVG.so | ||
209 | fi | ||
210 | |||
188 | find ${D}${libdir} -type f -exec chmod 644 {} \; | 211 | find ${D}${libdir} -type f -exec chmod 644 {} \; |
189 | find ${D}${includedir} -type f -exec chmod 644 {} \; | 212 | find ${D}${includedir} -type f -exec chmod 644 {} \; |
190 | } | 213 | } |
@@ -233,6 +256,7 @@ FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | |||
233 | FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}" | 256 | FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}" |
234 | RDEPENDS_libopencl-mx6 = "libclc-mx6" | 257 | RDEPENDS_libopencl-mx6 = "libclc-mx6" |
235 | 258 | ||
259 | INSANE_SKIP_libopenvg-mx6 += "dev-so" | ||
236 | FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}" | 260 | FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}" |
237 | FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" | 261 | FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" |
238 | FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}" | 262 | FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}" |