summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2016-05-14 09:28:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-15 09:06:00 +0100
commit531c354e7e477b724dc2662dbe4b9acd3ca364aa (patch)
tree43c4b8f11dd7ed45d1fbd1bf0fc9ecc341eb0692
parent144c5175b8e8a3aaa2f4ffaaccd97af1b02c401e (diff)
downloadpoky-531c354e7e477b724dc2662dbe4b9acd3ca364aa.tar.gz
glibc-initial.inc: fix py3 SyntaxError in cfgscript print()
Update so this works with python3. (From OE-Core rev: 20190566db6d77ee0ccd799587db3dfa35e8029a) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/glibc/glibc-initial.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc
index 5975fd26c7..0c8bd649d5 100644
--- a/meta/recipes-core/glibc/glibc-initial.inc
+++ b/meta/recipes-core/glibc/glibc-initial.inc
@@ -11,7 +11,7 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
11do_configure () { 11do_configure () {
12 (cd ${S} && gnu-configize) || die "failure in running gnu-configize" 12 (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
13 find ${S} -name "configure" | xargs touch 13 find ${S} -name "configure" | xargs touch
14 cfgscript=`python -c "import os; print os.path.relpath('${S}', '.')"`/configure 14 cfgscript=`python -c "import os; print(os.path.relpath('${S}', '.'))"`/configure
15 $cfgscript --host=${TARGET_SYS} --build=${BUILD_SYS} \ 15 $cfgscript --host=${TARGET_SYS} --build=${BUILD_SYS} \
16 --prefix=/usr \ 16 --prefix=/usr \
17 --without-cvs --disable-sanity-checks \ 17 --without-cvs --disable-sanity-checks \