diff options
Diffstat (limited to 'meta/recipes-devtools/python/python_2.6.6.bb')
-rw-r--r-- | meta/recipes-devtools/python/python_2.6.6.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.6.6.bb b/meta/recipes-devtools/python/python_2.6.6.bb index 77c0ff47b3..b3f79a377d 100644 --- a/meta/recipes-devtools/python/python_2.6.6.bb +++ b/meta/recipes-devtools/python/python_2.6.6.bb | |||
@@ -22,6 +22,7 @@ SRC_URI = "\ | |||
22 | file://security_issue_2254_fix.patch \ | 22 | file://security_issue_2254_fix.patch \ |
23 | file://cgi_py.patch \ | 23 | file://cgi_py.patch \ |
24 | file://remove_sqlite_rpath.patch \ | 24 | file://remove_sqlite_rpath.patch \ |
25 | file://setup_py_skip_cross_import_check.patch \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | SRC_URI[md5sum] = "cf4e6881bb84a7ce6089e4a307f71f14" | 28 | SRC_URI[md5sum] = "cf4e6881bb84a7ce6089e4a307f71f14" |
@@ -62,6 +63,8 @@ do_compile() { | |||
62 | # then call do_install twice we get Makefile.orig == Makefile.sysroot | 63 | # then call do_install twice we get Makefile.orig == Makefile.sysroot |
63 | install -m 0644 Makefile Makefile.sysroot | 64 | install -m 0644 Makefile Makefile.sysroot |
64 | 65 | ||
66 | export CROSS_COMPILE="${TARGET_PREFIX}" | ||
67 | |||
65 | oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ | 68 | oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ |
66 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ | 69 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ |
67 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | 70 | STAGING_LIBDIR=${STAGING_LIBDIR} \ |
@@ -83,6 +86,8 @@ do_install() { | |||
83 | # make install needs the original Makefile, or otherwise the inclues would | 86 | # make install needs the original Makefile, or otherwise the inclues would |
84 | # go to ${D}${STAGING...}/... | 87 | # go to ${D}${STAGING...}/... |
85 | install -m 0644 Makefile.orig Makefile | 88 | install -m 0644 Makefile.orig Makefile |
89 | |||
90 | export CROSS_COMPILE="${TARGET_PREFIX}" | ||
86 | 91 | ||
87 | oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ | 92 | oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ |
88 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ | 93 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ |