mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
bpftrace: Remove absolute buildtime paths in cmake files
Fixes WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths] WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths] WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths] WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths] WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths] WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths] WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths] WARNING: bpftrace-0.23.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
5abc595f6b
commit
ccf21651a0
|
|
@ -41,6 +41,15 @@ do_install_ptest() {
|
|||
cp -rf ${B}/tests/runtime ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${B}/tests/test* ${D}${PTEST_PATH}/tests
|
||||
fi
|
||||
for f in testlibs/cmake_install.cmake \
|
||||
testprogs/cmake_install.cmake \
|
||||
testlibs/CTestTestfile.cmake \
|
||||
testprogs/CTestTestfile.cmake
|
||||
do
|
||||
sed -i -e 's|${STAGING_BINDIR_TOOLCHAIN}/||' ${D}${libdir}/bpftrace/ptest/tests/$f
|
||||
sed -i -e 's|${S}/||' ${D}${libdir}/bpftrace/ptest/tests/$f
|
||||
sed -i -e 's|${B}/||' ${D}${libdir}/bpftrace/ptest/tests/$f
|
||||
done
|
||||
}
|
||||
|
||||
EXTRA_OECMAKE = " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user