summaryrefslogtreecommitdiff
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2016-05-14 09:28:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 23:07:46 +0100
commitf533a1f78411f5537f1395496aa39f453fee581c (patch)
tree227cbeac6d80d018894a1a72c180a2fb0f472f7a /meta/classes/autotools.bbclass
parent9e4d60b29ff5667d23a89953ce7139b34c11d40b (diff)
downloadopenembedded-core-f533a1f78411f5537f1395496aa39f453fee581c.tar.gz
openembedded-core-f533a1f78411f5537f1395496aa39f453fee581c.tar.bz2
openembedded-core-f533a1f78411f5537f1395496aa39f453fee581c.zip
autotools.bbclass: fix py3 SyntaxError in cfgscript print()
Update so this works with python3. Signed-off-by: Tim Orling <timothy.t.orling@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 c92ca78997..03a61c378d 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -87,7 +87,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=`python -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