summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/python/python3_3.5.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.1.bb b/meta/recipes-devtools/python/python3_3.5.1.bb
index 26d05c76b0..62e7b65083 100644
--- a/meta/recipes-devtools/python/python3_3.5.1.bb
+++ b/meta/recipes-devtools/python/python3_3.5.1.bb
@@ -164,6 +164,7 @@ do_install() {
164 rm -f ${D}/${bindir}/2to3 164 rm -f ${D}/${bindir}/2to3
165 165
166 install -m 0644 Makefile.sysroot ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile 166 install -m 0644 Makefile.sysroot ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
167 install -m 0644 Makefile.sysroot ${D}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile
167 168
168 if [ -e ${WORKDIR}/sitecustomize.py ]; then 169 if [ -e ${WORKDIR}/sitecustomize.py ]; then
169 install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN} 170 install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
@@ -182,9 +183,11 @@ PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess"
182py_package_preprocess () { 183py_package_preprocess () {
183 # copy back the old Makefile to fix target package 184 # copy back the old Makefile to fix target package
184 install -m 0644 ${B}/Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile 185 install -m 0644 ${B}/Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
186 install -m 0644 ${B}/Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile
185 # Remove references to buildmachine paths in target Makefile and _sysconfigdata 187 # Remove references to buildmachine paths in target Makefile and _sysconfigdata
186 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ 188 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
187 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \ 189 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \
190 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile \
188 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py 191 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
189} 192}
190 193