summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-28 11:24:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-28 14:01:15 +0000
commit3f0e3b5d535bc3726d11179ee70bd66b473544a5 (patch)
tree31d91ef63ab166ba57d01a1da20f593603f2cdc8 /meta/recipes-devtools
parentce4361299804dac511f8e21cccfcee58ad892ce5 (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3-native_3.3.3.bb3
-rw-r--r--meta/recipes-devtools/python/python3_3.3.3.bb3
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
55PYTHONLSBOPTS = ""
56
54do_configure_prepend() { 57do_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__"
60TARGET_CC_ARCH += "-DNDEBUG -fno-inline" 60TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
61EXTRA_OEMAKE += "CROSS_COMPILE=yes" 61EXTRA_OEMAKE += "CROSS_COMPILE=yes"
62 62
63# No ctypes option for python 3
64PYTHONLSBOPTS = ""
65
63do_configure_prepend() { 66do_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"