[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7453/8267] flex_2.6.0.bb: remove build host references



commit 176bbbf8127e0b4a2ed8df2f7b203849210d5282
Author: Juro Bystricky <juro bystricky intel com>
Date:   Mon Aug 28 13:28:21 2017 -0700

    flex_2.6.0.bb: remove build host references
    
    Remove build host references from flex-ptest package.
    
    [YOCTO #11667]
    
    (From OE-Core rev: e395bc4ab6c4a819958a761ee24de96f31294139)
    
    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 |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-devtools/flex/flex_2.6.0.bb b/meta/recipes-devtools/flex/flex_2.6.0.bb
index ab35b09..a906fe8 100644
--- a/meta/recipes-devtools/flex/flex_2.6.0.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.0.bb
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]