summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2026-03-16 19:32:51 +0100
committerKhem Raj <raj.khem@gmail.com>2026-03-18 14:33:29 -0700
commite585da399f852f71851ab43ad1e24e7fbf5f898d (patch)
tree3b13e368fc78819ad466bfb6022900188e4e8fee /meta-oe
parentcdb5d4c3e78f259bdd24155293fb09d6d748ac9c (diff)
downloadmeta-openembedded-e585da399f852f71851ab43ad1e24e7fbf5f898d.tar.gz
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>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.1.bb11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.1.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.1.bb
index add2ff01a8..33de2f4054 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.1.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.1.bb
@@ -15,9 +15,6 @@ DEPENDS += "bison-native \
15 " 15 "
16DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'pahole-native llvm-native', '', d)}" 16DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'pahole-native llvm-native', '', d)}"
17 17
18RDEPENDS:${PN} += "bash python3 xz"
19RDEPENDS:${PN}-ptest += "bpftool"
20
21SRC_URI = "git://github.com/iovisor/bpftrace;branch=release/0.24.x;protocol=https;tag=v${PV} \ 18SRC_URI = "git://github.com/iovisor/bpftrace;branch=release/0.24.x;protocol=https;tag=v${PV} \
22 file://run-ptest \ 19 file://run-ptest \
23 file://0002-CMakeLists.txt-allow-to-set-BISON_FLAGS-like-l.patch \ 20 file://0002-CMakeLists.txt-allow-to-set-BISON_FLAGS-like-l.patch \
@@ -41,9 +38,9 @@ do_install_ptest() {
41 cp -rf ${B}/tests/test* ${D}${PTEST_PATH}/tests 38 cp -rf ${B}/tests/test* ${D}${PTEST_PATH}/tests
42 fi 39 fi
43 for f in testlibs/cmake_install.cmake \ 40 for f in testlibs/cmake_install.cmake \
44 testprogs/cmake_install.cmake \ 41 testprogs/cmake_install.cmake \
45 testlibs/CTestTestfile.cmake \ 42 testlibs/CTestTestfile.cmake \
46 testprogs/CTestTestfile.cmake 43 testprogs/CTestTestfile.cmake
47 do 44 do
48 sed -i -e 's|${STAGING_BINDIR_TOOLCHAIN}/||' ${D}${libdir}/bpftrace/ptest/tests/$f 45 sed -i -e 's|${STAGING_BINDIR_TOOLCHAIN}/||' ${D}${libdir}/bpftrace/ptest/tests/$f
49 sed -i -e 's|${S}/||' ${D}${libdir}/bpftrace/ptest/tests/$f 46 sed -i -e 's|${S}/||' ${D}${libdir}/bpftrace/ptest/tests/$f
@@ -59,6 +56,8 @@ EXTRA_OECMAKE = " \
59 -DBISON_FLAGS='--file-prefix-map=${WORKDIR}=' \ 56 -DBISON_FLAGS='--file-prefix-map=${WORKDIR}=' \
60" 57"
61 58
59RDEPENDS:${PN}-ptest += "bash bpftool python3"
60
62COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*|riscv64.*)-linux" 61COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*|riscv64.*)-linux"
63 62
64INHIBIT_PACKAGE_STRIP_FILES += "\ 63INHIBIT_PACKAGE_STRIP_FILES += "\