]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags
authorKhem Raj <raj.khem@gmail.com>
Thu, 15 Feb 2018 07:49:25 +0000 (23:49 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Feb 2018 10:31:35 +0000 (10:31 +0000)
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>
meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb

index dc2820cda7c61768e2abbe4e0009389d8a82a153..cccdd2073d41a1bcd78582c56aba066b1634044f 100644 (file)
@@ -4,3 +4,4 @@ EGLINFO_BINARY_NAME ?= "eglinfo-fb"
 require eglinfo.inc
 
 SUMMARY += "(Framebuffer version)"
+CXXFLAGS += "-DMESA_EGL_NO_X11_HEADERS=1"