]> code.ossystems Code Review - openembedded-core.git/commit
mesa: Fix build with wayland and egl
authorKhem Raj <raj.khem@gmail.com>
Sun, 15 Jul 2018 19:44:02 +0000 (12:44 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2018 09:13:30 +0000 (10:13 +0100)
commitff4762e94faa095abd7175810d1053fdd361058f
treeac19204e38ca1706e5cedd8fa21b85389b5999fb
parentb06a44f1081ea422a365e80bc79b2aeb2783d23f
mesa: Fix build with wayland and egl

When wayland and egl both are on then it enables the wayland
plugin which actually fails to build because its not finding wayland-protocol
xml templates in proper location which is recipe sysroot since
we are cross compiling

Fixes build errors e.g.
make[4]: *** No rule to make target `//usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml', needed by `drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h'.  Stop.
make[4]: *** Waiting for unfinished jobs....

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/mesa/files/cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch [new file with mode: 0644]
meta/recipes-graphics/mesa/mesa.inc
meta/recipes-graphics/mesa/mesa_18.1.3.bb