* bash and python3 are only needed by the ptest package.
* xz appears to not be needed at all.

Signed-off-by: Peter Kjellerstedt <[email protected]>
---
 .../recipes-devtools/bpftrace/bpftrace_0.24.1.bb      | 11 +++++------
 1 file 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 \
             "
 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}
 \
            file://run-ptest \
            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
     fi
     for f in testlibs/cmake_install.cmake \
-    testprogs/cmake_install.cmake \
-    testlibs/CTestTestfile.cmake \
-    testprogs/CTestTestfile.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
@@ -59,6 +56,8 @@ EXTRA_OECMAKE = " \
     -DBISON_FLAGS='--file-prefix-map=${WORKDIR}=' \
 "
 
+RDEPENDS:${PN}-ptest += "bash bpftool python3"
+
 COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*|riscv64.*)-linux"
 
 INHIBIT_PACKAGE_STRIP_FILES += "\
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#125282): 
https://lists.openembedded.org/g/openembedded-devel/message/125282
Mute This Topic: https://lists.openembedded.org/mt/118350953/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to