From a8ada4759dba6bd003c9ec7a54f996bbcb33751f Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Mon, 28 Aug 2017 13:28:22 -0700 Subject: diffutils_3.6.bb: remove build host references Remove build host references from diffutils-ptest package. Signed-off-by: Juro Bystricky Signed-off-by: Richard Purdie --- meta/recipes-extended/diffutils/diffutils_3.6.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'meta/recipes-extended/diffutils') diff --git a/meta/recipes-extended/diffutils/diffutils_3.6.bb b/meta/recipes-extended/diffutils/diffutils_3.6.bb index a2ea484d88..deadd62c65 100644 --- a/meta/recipes-extended/diffutils/diffutils_3.6.bb +++ b/meta/recipes-extended/diffutils/diffutils_3.6.bb @@ -24,7 +24,12 @@ do_install_ptest() { install -D ${S}/build-aux/test-driver $t/build-aux/test-driver cp -r ${S}/tests $t/ install ${B}/tests/Makefile $t/tests/ - sed -e 's|^Makefile:|_Makefile:|' \ + 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' \ + -e 's|^Makefile:|_Makefile:|' \ -e 's|bash|sh|' \ -e 's|^top_srcdir = \(.*\)|top_srcdir = ..\/|' \ -e 's|^srcdir = \(.*\)|srcdir = .|' \ -- cgit 1.2.3-korg