summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.9.bb
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2015-02-26 15:27:25 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-27 07:40:33 +0000
commit9c4574e38920f28ca88bc1cc708455ea746244a7 (patch)
tree651691eea7bcfe7b66b8b1c3bbd2a73b27b1c991 /meta/recipes-devtools/python/python_2.7.9.bb
parent51908e5141133269edceb3b3bc26f8907ff2b3e0 (diff)
downloadpoky-9c4574e38920f28ca88bc1cc708455ea746244a7.tar.gz
python: Fix ctypes/libffi configure
Forces the creation of a configure script for ctypes/libffi Module by calling autoreconf after it being deleted on do_configure(). Fixes configuration hence compilation of this Python module. [YOCTO #7373] (From OE-Core rev: dd23f79c9ac4782fecc408fc14e66c0ce81f6973) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.9.bb')
-rw-r--r--meta/recipes-devtools/python/python_2.7.9.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.9.bb b/meta/recipes-devtools/python/python_2.7.9.bb
index 048ec3903a..4087c2cb13 100644
--- a/meta/recipes-devtools/python/python_2.7.9.bb
+++ b/meta/recipes-devtools/python/python_2.7.9.bb
@@ -39,9 +39,9 @@ TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
39# The following is a hack until we drop ac_cv_sizeof_off_t from site files 39# The following is a hack until we drop ac_cv_sizeof_off_t from site files
40EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)} ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no" 40EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)} ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no"
41 41
42do_configure_prepend() { 42do_configure_append() {
43 rm -f ${S}/Makefile.orig 43 rm -f ${S}/Makefile.orig
44 autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" 44 autoreconf -Wcross --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi
45} 45}
46 46
47do_compile() { 47do_compile() {