diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-28 11:24:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-28 14:01:15 +0000 |
commit | 3f0e3b5d535bc3726d11179ee70bd66b473544a5 (patch) | |
tree | 31d91ef63ab166ba57d01a1da20f593603f2cdc8 | |
parent | ce4361299804dac511f8e21cccfcee58ad892ce5 (diff) | |
download | ast2050-yocto-poky-3f0e3b5d535bc3726d11179ee70bd66b473544a5.zip ast2050-yocto-poky-3f0e3b5d535bc3726d11179ee70bd66b473544a5.tar.gz |
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.
(From OE-Core rev: f2879f3831ac86018e9526e34815f99eafe1ba82)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python3-native_3.3.3.bb | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3_3.3.3.bb | 3 |
2 files changed, 6 insertions, 0 deletions
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 97bf3b5..534dbec 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 5d1ef5b..0631fd9 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" |