]> code.ossystems Code Review - openembedded-core.git/commitdiff
flex_2.6.0.bb: remove build host references
authorJuro Bystricky <juro.bystricky@intel.com>
Mon, 28 Aug 2017 20:28:21 +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 flex-ptest package.

[YOCTO #11667]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/flex/flex_2.6.0.bb

index ab35b09f995f6886f782ce34c72fd8ad79faaa07..a906fe8dc64e34c5a0ac3d5b1e7057a02349c3f6 100644 (file)
@@ -55,7 +55,11 @@ do_install_ptest() {
        cp ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
        cp -r ${S}/tests/* ${D}${PTEST_PATH}
        cp -r ${B}/tests/* ${D}${PTEST_PATH}
-       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/^srcdir = \(.*\)/srcdir = ./' -e 's/^top_srcdir = \(.*\)/top_srcdir = ./' \
            -e 's/^builddir = \(.*\)/builddir = ./' -e 's/^top_builddir = \(.*\)/top_builddir = ./' \
            -i ${D}${PTEST_PATH}/Makefile