diff options
| author | Jacob Kroon <jacob.kroon@mikrodidakt.se> | 2014-07-17 10:59:16 +0200 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-07-21 10:58:06 -0300 |
| commit | d5db3b285804204174b0aef78de29e9e0fd3fbb7 (patch) | |
| tree | d21e268c6262cc016b40782b07625de80c095460 | |
| parent | b48a47a43377073ec9a44c2c85fced093da8aad6 (diff) | |
| download | meta-freescale-d5db3b285804204174b0aef78de29e9e0fd3fbb7.tar.gz | |
gpu-viv-bin-mx6q: Don't package wayland libraries in non-wayland builds
Running
readelf --dynamic libgc_wayland_protocol.so | grep NEEDED
shows that the library has a runtime dependency on libffi. Same thing
applies to libwayland-viv.so.
For non-wayland builds, where libffi may or may not be available during
package time, skip packaging them so that they don't cause unexpected
dependency changes in buildhistory.
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index 41068485d..0db37c38a 100644 --- a/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | |||
| @@ -174,6 +174,12 @@ do_install () { | |||
| 174 | ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so.2 | 174 | ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so.2 |
| 175 | ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so | 175 | ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so |
| 176 | 176 | ||
| 177 | # skip packaging wayland libraries if no support is requested | ||
| 178 | if [ "${USE_WL}" = "no" ]; then | ||
| 179 | rm ${D}${libdir}/libgc_wayland_protocol.* | ||
| 180 | rm ${D}${libdir}/libwayland-viv.* | ||
| 181 | fi | ||
| 182 | |||
| 177 | for backend in wl x11 fb dfb; do | 183 | for backend in wl x11 fb dfb; do |
| 178 | find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';' | 184 | find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';' |
| 179 | done | 185 | done |
