summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch12
-rw-r--r--meta-oe/recipes-benchmark/glmark2/glmark2_git.bb3
2 files changed, 14 insertions, 1 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch b/meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch
new file mode 100644
index 000000000..df208cf87
--- /dev/null
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch
@@ -0,0 +1,12 @@
1Use Python 3 instead of Python 2.
2
3Upstream-Status: Pending
4Signed-off-by: Ross Burton <ross.burton@intel.com>
5
6diff --git a/waf b/waf
7index 6ce2a24..de3c898 100755
8--- a/waf
9+++ b/waf
10@@ -1 +1 @@
11-#!/usr/bin/env python
12+#!/usr/bin/env python3
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
index 8b767463b..50b553c80 100644
--- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
@@ -14,7 +14,8 @@ PV = "20190904+${SRCPV}"
14 14
15COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}" 15COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}"
16 16
17SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https" 17SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \
18 file://python3.patch"
18SRCREV = "24a1139dcbfd86bd02065316eaa90559e39374e1" 19SRCREV = "24a1139dcbfd86bd02065316eaa90559e39374e1"
19 20
20S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"