summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-02-14 23:49:25 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-24 10:31:35 +0000
commit2638482c3b2a5766d2a1377a589245664140e270 (patch)
tree4dda3b5c4297a2590fe51355e17843300679d85f
parent2ccbd281c267d93ab1af854f603f988fc8dd0231 (diff)
downloadopenembedded-core-2638482c3b2a5766d2a1377a589245664140e270.tar.gz
eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags
This helps in compiling on graphics drivers which use this define to differentiate between eglfs and x11 headers e.g. mali or mesa Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb
index dc2820cda7..cccdd2073d 100644
--- a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb
+++ b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb
@@ -4,3 +4,4 @@ EGLINFO_BINARY_NAME ?= "eglinfo-fb"
require eglinfo.inc
SUMMARY += "(Framebuffer version)"
+CXXFLAGS += "-DMESA_EGL_NO_X11_HEADERS=1"