glmark2: use Python 3 to build

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton 2019-11-26 18:25:35 +00:00 committed by Khem Raj
parent 2c54b53159
commit 56101d3e3b
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,12 @@
Use Python 3 instead of Python 2.
Upstream-Status: Pending
Signed-off-by: Ross Burton <ross.burton@intel.com>
diff --git a/waf b/waf
index 6ce2a24..de3c898 100755
--- a/waf
+++ b/waf
@@ -1 +1 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3

View File

@ -14,7 +14,8 @@ PV = "20190904+${SRCPV}"
COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}"
SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https"
SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \
file://python3.patch"
SRCREV = "24a1139dcbfd86bd02065316eaa90559e39374e1"
S = "${WORKDIR}/git"