mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-16 05:18:18 +00:00
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:
parent
2c54b53159
commit
56101d3e3b
12
meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch
Normal file
12
meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch
Normal 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
|
||||||
@ -14,7 +14,8 @@ PV = "20190904+${SRCPV}"
|
|||||||
|
|
||||||
COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}"
|
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"
|
SRCREV = "24a1139dcbfd86bd02065316eaa90559e39374e1"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user