aboutsummaryrefslogtreecommitdiffstats
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-27 14:46:16 +0000
commit670ccc391ed95564279d36a7967d46a922d69c95 (patch)
tree36927b61c9a605a24b4edbd0ce9543b9f2197d47
parentb90c5c98b97582e6f1cadaf67a3bdcba05a3d038 (diff)
downloadopenembedded-core-contrib-670ccc391ed95564279d36a7967d46a922d69c95.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 (From OE-Core rev: 2638482c3b2a5766d2a1377a589245664140e270) 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> Signed-off-by: Armin Kuster <akuster808@gmail.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"