All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm PATCH] gpu-viv-bin-mx6q.inc: Ensure DRI module is add for Wayland + X11 case
@ 2013-07-29 16:21 Otavio Salvador
  2013-07-29 16:26 ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: Otavio Salvador @ 2013-07-29 16:21 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

When Wayland and X11 distro features are enabled, ensure DRI module is
installed. Fixes a regression introduced by 20d7652 (gpu-viv-bin-mx6q:
Adding support to install Wayland GPU libs).

Change-Id: I0b515641edee6a172469f65068f9de837b592c87
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 4 ++++
 1 file changed, 4 insertions(+)

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 fbc9eff..f63ed3c 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
@@ -104,6 +104,10 @@ do_install () {
         install -m 0644 ${WORKDIR}/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc
         install -m 0644 ${WORKDIR}/wayland-viv.pc ${D}${libdir}/pkgconfig/wayland-viv.pc
 
+        # Wayland + X11 support
+        if [ "${USE_X11}" = "yes" ]; then
+            cp -r ${S}/usr/lib/dri ${D}${libdir}
+        fi
     elif [ "${USE_X11}" = "yes" ]; then
         cp -r ${S}/usr/lib/dri ${D}${libdir}
         backend=x11
-- 
1.8.3.2



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

end of thread, other threads:[~2013-07-29 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 16:21 [meta-fsl-arm PATCH] gpu-viv-bin-mx6q.inc: Ensure DRI module is add for Wayland + X11 case Otavio Salvador
2013-07-29 16:26 ` Otavio Salvador
2013-07-29 19:45   ` John Weber

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.