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 | 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 97bf3b5297..534dbec180 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 = '\ | |||
| 51 | ARCH=${TARGET_ARCH} \ | 51 | ARCH=${TARGET_ARCH} \ |
| 52 | ' | 52 | ' |
| 53 | 53 | ||
| 54 | # No ctypes option for python 3 | ||
| 55 | PYTHONLSBOPTS = "" | ||
| 56 | |||
| 54 | do_configure_prepend() { | 57 | do_configure_prepend() { |
| 55 | autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" | 58 | autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" |
| 56 | } | 59 | } |
diff --git a/meta/recipes-devtools/python/python3_3.3.3.bb b/meta/recipes-devtools/python/python3_3.3.3.bb index 5d1ef5b314..0631fd9873 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__" | |||
| 60 | TARGET_CC_ARCH += "-DNDEBUG -fno-inline" | 60 | TARGET_CC_ARCH += "-DNDEBUG -fno-inline" |
| 61 | EXTRA_OEMAKE += "CROSS_COMPILE=yes" | 61 | EXTRA_OEMAKE += "CROSS_COMPILE=yes" |
| 62 | 62 | ||
| 63 | # No ctypes option for python 3 | ||
| 64 | PYTHONLSBOPTS = "" | ||
| 65 | |||
| 63 | do_configure_prepend() { | 66 | do_configure_prepend() { |
| 64 | rm -f ${S}/Makefile.orig | 67 | rm -f ${S}/Makefile.orig |
| 65 | autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" | 68 | autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" |
