summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-07-15 12:44:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-18 10:18:42 +0100
commitea9d7095a641b4dbf2b8f0dabd5099159e45ce82 (patch)
treeec835372597f580f475f0ed4dc7230659531fe80 /meta/recipes-graphics/mesa/mesa.inc
parenta24e8944e76dd6647a810a4a509b2dca0e3e86af (diff)
downloadpoky-ea9d7095a641b4dbf2b8f0dabd5099159e45ce82.tar.gz
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.... (From OE-Core rev: ff4762e94faa095abd7175810d1053fdd361058f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index cc01ea73b4..945272507a 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -107,6 +107,8 @@ FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
107 107
108CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS" 108CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS"
109 109
110EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols"
111
110# Remove the mesa dependency on mesa-dev, as mesa is empty 112# Remove the mesa dependency on mesa-dev, as mesa is empty
111RDEPENDS_${PN}-dev = "" 113RDEPENDS_${PN}-dev = ""
112 114