]> code.ossystems Code Review - openembedded-core.git/commitdiff
kbd-ptest: improve reproducibility
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 5 Feb 2018 01:28:03 +0000 (20:28 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Feb 2018 17:56:33 +0000 (17:56 +0000)
Remove remaining build host references of ptest's Makefile.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/kbd/kbd_2.0.4.bb

index 423b47a076acac5b5480d5f677999b617beca03a..5937cb8145574131125b54e02bcb1f89267f658f 100644 (file)
@@ -29,6 +29,13 @@ do_compile_ptest() {
 do_install_ptest() {
     install -D ${B}/tests/Makefile ${D}${PTEST_PATH}/tests/Makefile
     sed -i -e '/Makefile:/,/^$/d' -e '/%: %.in/,/^$/d' \
+       -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:${RECIPE_SYSROOT}::g' \
+       -e 's:${S}/config/missing::g' \
+       -e 's:${WORKDIR}::g' \
        -e '/libkeymap_.*_SOURCES =/d' -e '/$(EXEEXT):/,/^$/d' ${D}${PTEST_PATH}/tests/Makefile
 
     find ${B}/tests -executable -exec install {} ${D}${PTEST_PATH}/tests \;