summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/strace/strace_4.18.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-devtools/strace/strace_4.18.bb b/meta/recipes-devtools/strace/strace_4.18.bb
index 4251b6ca90..5b2891ad93 100644
--- a/meta/recipes-devtools/strace/strace_4.18.bb
+++ b/meta/recipes-devtools/strace/strace_4.18.bb
@@ -43,7 +43,16 @@ do_compile_ptest() {
43 43
44do_install_ptest() { 44do_install_ptest() {
45 oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR} 45 oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
46 sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile 46 sed -i -e '/^src/s/strace.*[1-9]/ptest/' \
47 -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
48 -e 's|${DEBUG_PREFIX_MAP}||g' \
49 -e 's:${HOSTTOOLS_DIR}/::g' \
50 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
51 -e 's:${RECIPE_SYSROOT}::g' \
52 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
53 -e '/^DEB_CHANGELOGTIME/d' \
54 -e '/^RPM_CHANGELOGTIME/d' \
55 ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
47} 56}
48 57
49BBCLASSEXTEND = "native" 58BBCLASSEXTEND = "native"