mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
sed: Fix the ptest path to test-driver
Add a sed substitution for ${PTEST_PATH}/Makefile that transforms
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
PL_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
to
SH_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
PL_LOG_DRIVER = $(SHELL) $(top_builddir)/build-aux/test-driver
which is where the test-driver script can be found when installed.
There used to be an oe-core automake patch to do this, but it
broke non-ptest use of automake.
Relates to [YOCTO #15635]
(From OE-Core rev: 2f7c365e97aa2205187e0ea426e17228cf91ad83)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a540cf556c
commit
3c17eca5dc
@@ -59,6 +59,7 @@ do_install_ptest() {
|
||||
-e 's:abs_srcdir =.*:abs_srcdir = ..:g' \
|
||||
-e 's:top_srcdir =.*:top_srcdir = ..:g' \
|
||||
-e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
|
||||
-e "/^\(PL\|SH\)_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \
|
||||
-i ${D}${PTEST_PATH}/Makefile
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user