mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
kbd-ptest: improve reproducibility
Remove remaining build host references of ptest's Makefile. (From OE-Core rev: 9de3c2568d63fffb12604c201c5f0fa64e14a2cc) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fc73574d8d
commit
b678d594ba
@@ -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 \;
|
||||
|
||||
Reference in New Issue
Block a user