summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/python/python_2.7.3.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index f6a460989b..40d20f1f4f 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -100,6 +100,17 @@ do_install() {
100 100
101 export CROSS_COMPILE="${TARGET_PREFIX}" 101 export CROSS_COMPILE="${TARGET_PREFIX}"
102 export PYTHONBUILDDIR="${S}" 102 export PYTHONBUILDDIR="${S}"
103
104 # After swizzling the makefile, we need to run the build again.
105 # install can race with the build so we have to run this first, then install
106 oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \
107 HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native/python \
108 CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \
109 STAGING_LIBDIR=${STAGING_LIBDIR} \
110 STAGING_INCDIR=${STAGING_INCDIR} \
111 STAGING_BASELIBDIR=${STAGING_BASELIBDIR} \
112 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
113 DESTDIR=${D} LIBDIR=${libdir}
103 114
104 oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \ 115 oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \
105 HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native/python \ 116 HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native/python \