[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-commits
Subject: [oe-commits] Richard Purdie : python3: Fix QA warning
From: git () git ! openembedded ! org (git at git ! openembedded ! org)
Date: 2014-02-28 17:56:34
Message-ID: 20140228175634.81A1C5044D () opal
[Download RAW message or body]
Module: openembedded-core.git
Branch: master-next
Commit: f2879f3831ac86018e9526e34815f99eafe1ba82
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f2879f3831ac86018e9526e34815f99eafe1ba82
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Fri Feb 28 11:24:01 2014 +0000
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 <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/python/python3-native_3.3.3.bb | 3 +++
meta/recipes-devtools/python/python3_3.3.3.bb | 3 +++
2 files changed, 6 insertions(+)
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"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic