[oe] [meta-oe][PATCH 4/4] glmark2: Update to latest and fix build on pi

Khem Raj raj.khem at gmail.com
Sat May 6 19:18:40 UTC 2017


when using userland it does not work since it needs
libgbm from mesa.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
index 26c5c0482..d8fc30779 100644
--- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
@@ -12,13 +12,14 @@ DEPENDS = "libpng12 jpeg"
 
 PV = "2014.03+${SRCPV}"
 
-SRC_URI = " \
-    git://github.com/glmark2/glmark2.git;protocol=https \
+COMPATIBLE_HOST_rpi  = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}"
+
+SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \
     file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \
     file://0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch \
     file://Fix-configure-for-sqrt-check.patch \
 "
-SRCREV = "f413c5b423250b4fde8f95639ad368d5b02c5b9b"
+SRCREV = "7215c0f337dae0b232535549c37fca441747a891"
 
 S = "${WORKDIR}/git"
 
-- 
2.12.2




More information about the Openembedded-devel mailing list