summaryrefslogtreecommitdiff
path: root/meta/recipes-core
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-14 23:07:46 +0100
commit20190566db6d77ee0ccd799587db3dfa35e8029a (patch)
tree2389b56283d1e1d1aa189a92aea26fbb08337a68 /meta/recipes-core
parentf533a1f78411f5537f1395496aa39f453fee581c (diff)
downloadopenembedded-core-20190566db6d77ee0ccd799587db3dfa35e8029a.tar.gz
openembedded-core-20190566db6d77ee0ccd799587db3dfa35e8029a.tar.bz2
openembedded-core-20190566db6d77ee0ccd799587db3dfa35e8029a.zip
glibc-initial.inc: 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/recipes-core')
-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}"
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=`python -c "import os; print(os.path.relpath('${S}', '.'))"`/configure
$cfgscript --host=${TARGET_SYS} --build=${BUILD_SYS} \
--prefix=/usr \
--without-cvs --disable-sanity-checks \