From: Richard Purdie Date: Fri, 28 Feb 2014 11:24:01 +0000 (+0000) Subject: python3: Fix QA warning X-Git-Tag: yocto-4.0~29888 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2879f3831ac86018e9526e34815f99eafe1ba82;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3: Fix QA warning Addresses the warning: WARNING: QA Issue: python3-native: configure was passed unrecognised options: --with-wctype-functions since this option was removed in python 3. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-native_3.3.3.bb b/meta/recipes-devtools/python/python3-native_3.3.3.bb index 97bf3b5297f..534dbec1806 100644 --- a/meta/recipes-devtools/python/python3-native_3.3.3.bb +++ b/meta/recipes-devtools/python/python3-native_3.3.3.bb @@ -51,6 +51,9 @@ EXTRA_OEMAKE = '\ ARCH=${TARGET_ARCH} \ ' +# No ctypes option for python 3 +PYTHONLSBOPTS = "" + do_configure_prepend() { autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" } diff --git a/meta/recipes-devtools/python/python3_3.3.3.bb b/meta/recipes-devtools/python/python3_3.3.3.bb index 5d1ef5b3148..0631fd9873a 100644 --- a/meta/recipes-devtools/python/python3_3.3.3.bb +++ b/meta/recipes-devtools/python/python3_3.3.3.bb @@ -60,6 +60,9 @@ TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__" TARGET_CC_ARCH += "-DNDEBUG -fno-inline" EXTRA_OEMAKE += "CROSS_COMPILE=yes" +# No ctypes option for python 3 +PYTHONLSBOPTS = "" + do_configure_prepend() { rm -f ${S}/Makefile.orig autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"