aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-07-29 13:05:07 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2013-07-29 14:00:21 -0300
commitfdf3fe6296790b0c0817a58c064d7da1cca7dd0a (patch)
treec0e410afbe446f51ba087c09ee495e64f5617d87 /recipes-graphics
parent547315e01ab1c802d8490cc087a9affa0ad6c6ee (diff)
downloadmeta-fsl-arm-fdf3fe6296790b0c0817a58c064d7da1cca7dd0a.tar.gz
meta-fsl-arm-fdf3fe6296790b0c0817a58c064d7da1cca7dd0a.tar.bz2
meta-fsl-arm-fdf3fe6296790b0c0817a58c064d7da1cca7dd0a.zip
gpu-viv-bin-mx6q.inc: Ensure DRI module is add for Wayland + X11 case
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>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc4
1 files changed, 4 insertions, 0 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 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