From: Juro Bystricky Date: Wed, 20 Sep 2017 17:27:17 +0000 (-0700) Subject: gzip_1.8.bb: improve reproducibility X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19895 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c9fec29a8151a669950e2c8e7835a8602efa664;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gzip_1.8.bb: improve reproducibility Remove build host references from gzip-ptest package. Signed-off-by: Juro Bystricky Signed-off-by: Ross Burton --- diff --git a/meta/recipes-extended/gzip/gzip_1.8.bb b/meta/recipes-extended/gzip/gzip_1.8.bb index a0dec143db1..d0932071c99 100644 --- a/meta/recipes-extended/gzip/gzip_1.8.bb +++ b/meta/recipes-extended/gzip/gzip_1.8.bb @@ -27,6 +27,10 @@ do_install_ptest() { -e 's/^AWK = ..*/AWK = awk/' \ -e 's/^srcdir = ..*/srcdir = \./' \ -e 's/^Makefile: ..*/Makefile: /' \ + -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ + -e 's|${DEBUG_PREFIX_MAP}||g' \ + -e 's:${HOSTTOOLS_DIR}/::g' \ + -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ ${B}/tests/Makefile > ${D}${PTEST_PATH}/src/tests/Makefile }