summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2018-01-04 12:24:00 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-05 11:55:35 +0000
commit100cf0849e3c8d355a38be525bf3cea903106f22 (patch)
tree839195e03dc8bb19af5e4248590bc7fe828973b6 /meta/recipes-devtools
parent2ab78cda69d88e2ecda227a36874347cce4d00b9 (diff)
downloadpoky-100cf0849e3c8d355a38be525bf3cea903106f22.tar.gz
python3-dev: improve reproducibility
Remove remaining build host references from packaged files. [#YOCTO 11472] (From OE-Core rev: e21723bb9b6035714268eeab5f43e2d1cb798a0d) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3_3.5.3.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.3.bb b/meta/recipes-devtools/python/python3_3.5.3.bb
index b70915e54f..7f54ea4ecd 100644
--- a/meta/recipes-devtools/python/python3_3.5.3.bb
+++ b/meta/recipes-devtools/python/python3_3.5.3.bb
@@ -186,6 +186,11 @@ py_package_preprocess () {
186 install -m 0644 ${B}/Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile 186 install -m 0644 ${B}/Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile
187 # Remove references to buildmachine paths in target Makefile and _sysconfigdata 187 # Remove references to buildmachine paths in target Makefile and _sysconfigdata
188 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 \
189 -e 's|${DEBUG_PREFIX_MAP}||g' \
190 -e 's:${HOSTTOOLS_DIR}/::g' \
191 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
192 -e 's:${RECIPE_SYSROOT}::g' \
193 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
189 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \ 194 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \
190 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile \ 195 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile \
191 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py 196 ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py