aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sed
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2018-01-04 12:24:03 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-05 11:54:57 +0000
commitbff3f0e7d96a95e6e6be1ea9b8ddebff53778c2f (patch)
tree0fab8af630a9c178ed36ae5e2b10819536af158f /meta/recipes-extended/sed
parent225a7156d1fb2fbffadf38e4f4e491f053358082 (diff)
downloadopenembedded-core-contrib-bff3f0e7d96a95e6e6be1ea9b8ddebff53778c2f.tar.gz
openembedded-core-contrib-bff3f0e7d96a95e6e6be1ea9b8ddebff53778c2f.tar.bz2
openembedded-core-contrib-bff3f0e7d96a95e6e6be1ea9b8ddebff53778c2f.zip
sed-ptest: improve reproducibility
Remove build host references Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sed')
-rw-r--r--meta/recipes-extended/sed/sed_4.2.2.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb b/meta/recipes-extended/sed/sed_4.2.2.bb
index e31bec2890..f10e365ea4 100644
--- a/meta/recipes-extended/sed/sed_4.2.2.bb
+++ b/meta/recipes-extended/sed/sed_4.2.2.bb
@@ -42,6 +42,12 @@ do_compile_ptest() {
do_install_ptest() {
oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
+ sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
+ -e 's|${DEBUG_PREFIX_MAP}||g' \
+ -e 's:${HOSTTOOLS_DIR}/::g' \
+ -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
+ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
+ -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile
}
RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sed', '', d)}"