summaryrefslogtreecommitdiff
path: root/meta-freedesktop/recipes-devtools/python/python_2.7.9.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-freedesktop/recipes-devtools/python/python_2.7.9.bbappend')
-rw-r--r--meta-freedesktop/recipes-devtools/python/python_2.7.9.bbappend9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta-freedesktop/recipes-devtools/python/python_2.7.9.bbappend b/meta-freedesktop/recipes-devtools/python/python_2.7.9.bbappend
index 6c98876..bf25949 100644
--- a/meta-freedesktop/recipes-devtools/python/python_2.7.9.bbappend
+++ b/meta-freedesktop/recipes-devtools/python/python_2.7.9.bbappend
@@ -2,15 +2,6 @@ FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
SRC_URI += "\
file://usercustomize.py \
"
-py_package_preprocess () {
- # copy back the old Makefile to fix target package
- install -m 0644 Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
-
- # Remove references to buildmachine paths in target Makefile and _sysconfigdata
- sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
- ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \
- ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
-}
do_install_append() {
install -m 0755 ${WORKDIR}/usercustomize.py ${D}${libdir}/python2.7/usercustomize.py