]> code.ossystems Code Review - meta-freescale.git/commitdiff
eglinfo-fb: Use generic header
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 15 Nov 2017 21:02:11 +0000 (15:02 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 16 Nov 2017 13:09:27 +0000 (11:09 -0200)
Use eglplatform.h rather than vendor-specific eglvivante.h.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/eglinfo/eglinfo-fb/0001-Replace-vendor-specific-header-with-generic.patch [new file with mode: 0644]
recipes-graphics/eglinfo/eglinfo-fb_%.bbappend

diff --git a/recipes-graphics/eglinfo/eglinfo-fb/0001-Replace-vendor-specific-header-with-generic.patch b/recipes-graphics/eglinfo/eglinfo-fb/0001-Replace-vendor-specific-header-with-generic.patch
new file mode 100644 (file)
index 0000000..7c315c8
--- /dev/null
@@ -0,0 +1,28 @@
+From fdb3add3dfd53c539c3c79e4fbf9eedb1dc1e440 Mon Sep 17 00:00:00 2001
+From: Prabhu Sundararaj <prabhu.sundararaj@nxp.com>
+Date: Fri, 26 Feb 2016 11:29:54 -0600
+Subject: [PATCH] Use generic eglplatform.h rather than vendor specifc
+ (eglvivante.h) EGL headers.
+
+Upstream-Status: Pending
+
+---
+ wscript | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/wscript b/wscript
+index 195e247..d08bc29 100644
+--- a/wscript
++++ b/wscript
+@@ -219,7 +219,7 @@ def check_vivante_egl(conf, egl_extra_defines):
+               extra_defines += egl_extra_defines
+       extra_cxxflags = map(lambda x: conf.env['DEFINES_ST'] % x, extra_defines)
+       conf.env['CXXFLAGS'] += extra_cxxflags
+-      conf.check_cxx(mandatory = 1, header_name = 'EGL/eglvivante.h', uselib_store = 'EGL')
++      conf.check_cxx(mandatory = 1, header_name = 'EGL/eglplatform.h', uselib_store = 'EGL')
+       conf.check_cxx(mandatory = 1, header_name = 'EGL/egl.h', uselib_store = 'EGL')
+       conf.env['CXXFLAGS_EGL'] += extra_cxxflags
+       conf.env['CXXFLAGS'] = old_cxxflags
+-- 
+2.7.0
+
index 7aa0e50f2b1cda1a5d9c67983f17e5c36c9553a3..f130d23c0fea7ed1d5cf918c24fdffe06c2c9515 100644 (file)
@@ -1,2 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_append_imxgpu3d = " \
+    file://0001-Replace-vendor-specific-header-with-generic.patch \
+"
+
 # Set i.MX specific dependencies and device type
 EGLINFO_DEVICE_imxgpu3d = "imx6"