mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 00:50:00 +00:00
bpftrace: Update the runtime dependencies
* bash and python3 are only needed by the ptest package. * xz appears to not be needed at all. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
cdb5d4c3e7
commit
e585da399f
@@ -15,9 +15,6 @@ DEPENDS += "bison-native \
|
|||||||
"
|
"
|
||||||
DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'pahole-native llvm-native', '', d)}"
|
DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'pahole-native llvm-native', '', d)}"
|
||||||
|
|
||||||
RDEPENDS:${PN} += "bash python3 xz"
|
|
||||||
RDEPENDS:${PN}-ptest += "bpftool"
|
|
||||||
|
|
||||||
SRC_URI = "git://github.com/iovisor/bpftrace;branch=release/0.24.x;protocol=https;tag=v${PV} \
|
SRC_URI = "git://github.com/iovisor/bpftrace;branch=release/0.24.x;protocol=https;tag=v${PV} \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
file://0002-CMakeLists.txt-allow-to-set-BISON_FLAGS-like-l.patch \
|
file://0002-CMakeLists.txt-allow-to-set-BISON_FLAGS-like-l.patch \
|
||||||
@@ -41,9 +38,9 @@ do_install_ptest() {
|
|||||||
cp -rf ${B}/tests/test* ${D}${PTEST_PATH}/tests
|
cp -rf ${B}/tests/test* ${D}${PTEST_PATH}/tests
|
||||||
fi
|
fi
|
||||||
for f in testlibs/cmake_install.cmake \
|
for f in testlibs/cmake_install.cmake \
|
||||||
testprogs/cmake_install.cmake \
|
testprogs/cmake_install.cmake \
|
||||||
testlibs/CTestTestfile.cmake \
|
testlibs/CTestTestfile.cmake \
|
||||||
testprogs/CTestTestfile.cmake
|
testprogs/CTestTestfile.cmake
|
||||||
do
|
do
|
||||||
sed -i -e 's|${STAGING_BINDIR_TOOLCHAIN}/||' ${D}${libdir}/bpftrace/ptest/tests/$f
|
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|${S}/||' ${D}${libdir}/bpftrace/ptest/tests/$f
|
||||||
@@ -59,6 +56,8 @@ EXTRA_OECMAKE = " \
|
|||||||
-DBISON_FLAGS='--file-prefix-map=${WORKDIR}=' \
|
-DBISON_FLAGS='--file-prefix-map=${WORKDIR}=' \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
RDEPENDS:${PN}-ptest += "bash bpftool python3"
|
||||||
|
|
||||||
COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*|riscv64.*)-linux"
|
COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*|riscv64.*)-linux"
|
||||||
|
|
||||||
INHIBIT_PACKAGE_STRIP_FILES += "\
|
INHIBIT_PACKAGE_STRIP_FILES += "\
|
||||||
|
|||||||
Reference in New Issue
Block a user