]> code.ossystems Code Review - meta-freescale.git/commitdiff
gpu-viv-bin-mx6q.inc: Ensure DRI module is add for Wayland + X11 case
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 29 Jul 2013 16:05:07 +0000 (13:05 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 29 Jul 2013 17:00:21 +0000 (14:00 -0300)
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>
meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc

index fbc9eff3d6fdcded230b60336bf3a3254e7fec2b..f63ed3c7cacffd88a5810597653eb148495c3b45 100644 (file)
@@ -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