python3: Fix QA warning
PATCH 1/1 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 <[email protected]>
---
meta/recipes-devtools/python/python3-native_3.3.3.bb +3 -0
@@ -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" }
meta/recipes-devtools/python/python3_3.3.3.bb +3 -0
@@ -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"
Quoted 5 lines · Richard Purdie
Addresses the warning:
WARNING: QA Issue: python3-native: configure was passed unrecognised options: --with-wctype-functions
since this option was removed in python 3.
indeed.
Quoted 37 lines
Signed-off-by Richard Purdie <[email protected]>---
meta/recipes-devtools/python/python3-native_3.3.3.bb +0
-0@@ -51,6 +51,9 @@ EXTRA_OEMAKE = '\ ARCH=${TARGET_ARCH} \'
meta/recipes-devtools/python/python3-native_3.3.3.bb +3
-0+# No ctypes option for python 3 +PYTHONLSBOPTS = "" +do_configure_prepend() { autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" }meta/recipes-devtools/python/python3_3.3.3.bb +0
-0@@ -60,6 +60,9 @@ TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
TARGET_CC_ARCH+= "-DNDEBUG -fno-inline"EXTRA_OEMAKE+= "CROSS_COMPILE=yes"meta/recipes-devtools/python/python3_3.3.3.bb +3
-0+# 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"_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core