All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] glibc-initial.inc: fix py3 SyntaxError in cfgscript print()
@ 2016-05-14  8:28 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-05-14  8:28 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

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>

diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc
index 5975fd2..0c8bd64 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 \




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-14  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-14  8:28 [PATCH] glibc-initial.inc: fix py3 SyntaxError in cfgscript print() Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.