diff mbox series

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

Message ID 20170506191840.26070-4-raj.khem@gmail.com
State New
Headers show
Series [oe,meta-multimedia,1/4] gupnp-av: Update to 0.12.10 | expand

Commit Message

Khem Raj May 6, 2017, 7:18 p.m. UTC
when using userland it does not work since it needs
libgbm from mesa.

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-benchmark/glmark2/glmark2_git.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

-- 
2.12.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

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"