diff options
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.2.bb')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.2.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb index bb088a4620..360e64e9a6 100644 --- a/meta/recipes-devtools/python/python_2.7.2.bb +++ b/meta/recipes-devtools/python/python_2.7.2.bb | |||
@@ -18,6 +18,7 @@ SRC_URI += "\ | |||
18 | file://multilib.patch \ | 18 | file://multilib.patch \ |
19 | file://cgi_py.patch \ | 19 | file://cgi_py.patch \ |
20 | file://remove_sqlite_rpath.patch \ | 20 | file://remove_sqlite_rpath.patch \ |
21 | file://setup_py_skip_cross_import_check.patch \ | ||
21 | " | 22 | " |
22 | 23 | ||
23 | S = "${WORKDIR}/Python-${PV}" | 24 | S = "${WORKDIR}/Python-${PV}" |
@@ -57,6 +58,8 @@ do_compile() { | |||
57 | # then call do_install twice we get Makefile.orig == Makefile.sysroot | 58 | # then call do_install twice we get Makefile.orig == Makefile.sysroot |
58 | install -m 0644 Makefile Makefile.sysroot | 59 | install -m 0644 Makefile Makefile.sysroot |
59 | 60 | ||
61 | export CROSS_COMPILE="${TARGET_PREFIX}" | ||
62 | |||
60 | oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ | 63 | oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ |
61 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ | 64 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ |
62 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | 65 | STAGING_LIBDIR=${STAGING_LIBDIR} \ |
@@ -78,6 +81,8 @@ do_install() { | |||
78 | # make install needs the original Makefile, or otherwise the inclues would | 81 | # make install needs the original Makefile, or otherwise the inclues would |
79 | # go to ${D}${STAGING...}/... | 82 | # go to ${D}${STAGING...}/... |
80 | install -m 0644 Makefile.orig Makefile | 83 | install -m 0644 Makefile.orig Makefile |
84 | |||
85 | export CROSS_COMPILE="${TARGET_PREFIX}" | ||
81 | 86 | ||
82 | oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ | 87 | oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ |
83 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ | 88 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ |