summaryrefslogtreecommitdiff
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-09-26 16:34:48 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-27 09:01:33 +0100
commit97b21645fdcdb39a58546b5f4d763b920fe5fbd6 (patch)
tree8a445803aafe4fce94091932d4868e8268c78453 /meta/classes/autotools.bbclass
parentc9fc6dbba5cb6193fa51538ab1d6a16d1376bea8 (diff)
downloadopenembedded-core-97b21645fdcdb39a58546b5f4d763b920fe5fbd6.tar.gz
openembedded-core-97b21645fdcdb39a58546b5f4d763b920fe5fbd6.tar.bz2
openembedded-core-97b21645fdcdb39a58546b5f4d763b920fe5fbd6.zip
autotools.bbclass: use python3 instead of python (v2)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index e5f527ec07..ecbba9f603 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -85,7 +85,7 @@ AUTOTOOLS_AUXDIR ?= "${AUTOTOOLS_SCRIPT_PATH}"
oe_runconf () {
# Use relative path to avoid buildpaths in files
cfgscript_name="`basename ${CONFIGURE_SCRIPT}`"
- cfgscript=`python -c "import os; print(os.path.relpath(os.path.dirname('${CONFIGURE_SCRIPT}'), '.'))"`/$cfgscript_name
+ cfgscript=`python3 -c "import os; print(os.path.relpath(os.path.dirname('${CONFIGURE_SCRIPT}'), '.'))"`/$cfgscript_name
if [ -x "$cfgscript" ] ; then
bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
if ! ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@"; then