diff options
author | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2018-03-14 16:20:36 +0700 |
---|---|---|
committer | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2018-03-22 13:36:54 +0700 |
commit | 62cf2081e6e274d80bfc867c8ee2f48e1751c7df (patch) | |
tree | 17a6f52ecde6a49c98f1a1eff866f48dd3c204c3 /meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend | |
parent | 8b9882947cf6e9508eacdf543bd88a07d88f6598 (diff) |
rcar-gen3: glmark2: Fix glmark2 build failure
glmark2 fails to build in YP v2.4 environment with the following error:
| Checking for 'libpng12' : not found
| Checking for 'libpng15' : not found
| Checking for 'gbm' : not found
This commit modifies recipe to fix this issue.
It also applies a patch to avoid the following error:
| ../src/gl-state-egl.cpp: In member function 'bool GLStateEGL::gotValidDisplay()':
| ../src/gl-state-egl.cpp:420:41: error: 'EGL_PLATFORM_GBM_KHR' was not declared in this scope
| #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR
| ^
| ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM'
| GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../src/gl-state-egl.cpp:420:41: note: suggested alternative: 'EGL_PLATFORM_GBM_MESA'
| #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR
| ^
| ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM'
| GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend')
-rw-r--r-- | meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend b/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend new file mode 100644 index 0000000..4cfc8d8 --- /dev/null +++ b/meta-rcar-gen3/recipes-benchmark/glmark2/glmark2_git.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI_append = " \ + file://0001-gl-state-egl-Avoid-build-failure-due-to-miss-macro-d.patch \ +" + +PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm libgbm" +PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm libgbm" |