mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
strace: better sed expression for ptest Makefile
The previous one wasn't particularly readable, and assumed a particular relationship between S and B. The new one also works when S is in UNPACKDIR, or anywhere else. (From OE-Core rev: 584b039fe688ba85fb19b48f2c7209452e248c00) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b2a037780e
commit
e65d0d156d
|
@ -45,7 +45,7 @@ do_install_ptest() {
|
|||
mkdir -p ${D}${PTEST_PATH}/src
|
||||
install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
|
||||
install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/
|
||||
sed -e '/^src/s/strace.*[0-9]/ptest/' \
|
||||
sed -e 's/^srcdir = .*/srcdir = ..\/..\/ptest\/tests/' \
|
||||
-e "/^TEST_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \
|
||||
-i ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user