mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 15:20:34 +00:00
flex: Fix top_builddir path for flex's test-driver script
Since 5f82d17ac63f6d5b55f7b8d019c239620ab54596, test-driver scripts look into top_buildir path, so fix this path on flex's tests/Makefile. [YOCTO #9721] (From OE-Core rev: c5da9c7a3c6418386e1f923008e1cd5fbee01fdd) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6a27517505
commit
66aebcc5d5
@ -51,5 +51,8 @@ do_install_ptest() {
|
||||
cp ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
|
||||
cp -r ${S}/tests/* ${D}${PTEST_PATH}
|
||||
cp -r ${B}/tests/* ${D}${PTEST_PATH}
|
||||
sed -e 's/^Makefile:/_Makefile:/' -e 's/^srcdir = \(.*\)/srcdir = ./' -e 's/^top_srcdir = \(.*\)/top_srcdir = ./' -i ${D}${PTEST_PATH}/Makefile
|
||||
sed -e 's/^Makefile:/_Makefile:/' \
|
||||
-e 's/^srcdir = \(.*\)/srcdir = ./' -e 's/^top_srcdir = \(.*\)/top_srcdir = ./' \
|
||||
-e 's/^builddir = \(.*\)/builddir = ./' -e 's/^top_builddir = \(.*\)/top_builddir = ./' \
|
||||
-i ${D}${PTEST_PATH}/Makefile
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user