summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-native_2.7.9.bb
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2015-02-20 15:40:47 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-23 17:35:29 +0000
commit360dbb52530e7bd5b7ae942b7d2732e2f845a64c (patch)
tree2d85c4fb123de2b6caa23bdf7ef5d3bb2a5c354f /meta/recipes-devtools/python/python-native_2.7.9.bb
parentcb02ecb507ddad3cb17c78020b42c004aa2903ae (diff)
downloadpoky-360dbb52530e7bd5b7ae942b7d2732e2f845a64c.tar.gz
python-native: Reverts usage of distutils.sysconfig On older versions of Python, sysconfig read the Makefile and Python.h, generated at build time now it uses _sysconfigdata which contains information about the HOST, erroneous in our case, this causes an error when bulding something using distutils since it obtains compiler information and such.
Also fixes configuration of _ctypes/libffi (From OE-Core rev: 3c76d5ef1f4d5270c94661d9fde7e31391b5cc2d) 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-native_2.7.9.bb')
-rw-r--r--meta/recipes-devtools/python/python-native_2.7.9.bb25
1 files changed, 13 insertions, 12 deletions
diff --git a/meta/recipes-devtools/python/python-native_2.7.9.bb b/meta/recipes-devtools/python/python-native_2.7.9.bb
index dfde36129f..54be2ea58b 100644
--- a/meta/recipes-devtools/python/python-native_2.7.9.bb
+++ b/meta/recipes-devtools/python/python-native_2.7.9.bb
@@ -5,17 +5,18 @@ DEPENDS = "openssl-native bzip2-replacement-native zlib-native readline-native s
5PR = "${INC_PR}.1" 5PR = "${INC_PR}.1"
6 6
7SRC_URI += "\ 7SRC_URI += "\
8 file://05-enable-ctypes-cross-build.patch \ 8 file://05-enable-ctypes-cross-build.patch \
9 file://10-distutils-fix-swig-parameter.patch \ 9 file://10-distutils-fix-swig-parameter.patch \
10 file://11-distutils-never-modify-shebang-line.patch \ 10 file://11-distutils-never-modify-shebang-line.patch \
11 file://12-distutils-prefix-is-inside-staging-area.patch \ 11 file://12-distutils-prefix-is-inside-staging-area.patch \
12 file://debug.patch \ 12 file://debug.patch \
13 file://unixccompiler.patch \ 13 file://unixccompiler.patch \
14 file://nohostlibs.patch \ 14 file://nohostlibs.patch \
15 file://multilib.patch \ 15 file://multilib.patch \
16 file://add-md5module-support.patch \ 16 file://add-md5module-support.patch \
17 file://builddir.patch \ 17 file://builddir.patch \
18 file://parallel-makeinst-create-bindir.patch \ 18 file://parallel-makeinst-create-bindir.patch \
19 file://revert_use_of_sysconfigdata.patch \
19 " 20 "
20S = "${WORKDIR}/Python-${PV}" 21S = "${WORKDIR}/Python-${PV}"
21 22
@@ -36,7 +37,7 @@ EXTRA_OEMAKE = '\
36' 37'
37 38
38do_configure_prepend() { 39do_configure_prepend() {
39 autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf" 40 autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi
40} 41}
41 42
42do_install() { 43do_install() {