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>
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