[OE-core] [PATCH] qemu: Inherit pythonnative
Khem Raj
raj.khem at gmail.com
Fri Feb 10 04:58:53 UTC 2017
On buildhosts where default python has switched to using python3
qemu-native fails configure like this
| ERROR: Cannot use 'python', Python 2.6 or later is required.
| Note that Python 3 or later is not yet supported.
| Use --python=/path/to/python to specify a supported Python.
|
inheriting pythonnative makes sure that a usable python2 is always
available.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-devtools/qemu/qemu.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index ef5d75c450..50f53f0de1 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -6,7 +6,7 @@ RDEPENDS_${PN}_class-target += "bash"
RDEPENDS_${PN}-ptest = "bash make"
require qemu-targets.inc
-inherit autotools pkgconfig ptest
+inherit autotools pkgconfig ptest pythonnative
BBCLASSEXTEND = "native nativesdk"
# QEMU_TARGETS is overridable variable
--
2.11.1
More information about the Openembedded-core
mailing list