]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc-initial: use python3 instead of python (v2)
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 26 Sep 2016 13:34:49 +0000 (16:34 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Sep 2016 08:01:33 +0000 (09:01 +0100)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-initial.inc

index 0c8bd649d57a5cae9c15ce0531ebde5f0ae12506..ec21f105d0ec4e01ca13bb80f70ff1a23f958720 100644 (file)
@@ -11,7 +11,7 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
 do_configure () {
        (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
        find ${S} -name "configure" | xargs touch
-       cfgscript=`python -c "import os; print(os.path.relpath('${S}', '.'))"`/configure
+       cfgscript=`python3 -c "import os; print(os.path.relpath('${S}', '.'))"`/configure
        $cfgscript --host=${TARGET_SYS} --build=${BUILD_SYS} \
                --prefix=/usr \
                --without-cvs --disable-sanity-checks \