]> code.ossystems Code Review - openembedded-core.git/commitdiff
diffutils_3.6.bb: remove build host references
authorJuro Bystricky <juro.bystricky@intel.com>
Mon, 28 Aug 2017 20:28:22 +0000 (13:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Aug 2017 10:20:49 +0000 (11:20 +0100)
Remove build host references from diffutils-ptest package.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/diffutils/diffutils_3.6.bb

index a2ea484d8802dcb1e4ecd2a4cc4f3e66a4407ced..deadd62c6574e054888a48dffbec58a354c5e669 100644 (file)
@@ -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 = .|' \