diff options
author | Changqing Li <changqing.li@windriver.com> | 2025-10-16 15:28:36 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-10-16 08:48:34 -0700 |
commit | 8bc16df184b17aef043f8f92d515fced7f4ea5fc (patch) | |
tree | eeb43113d2cf8dda6b9fe22b235a319de02bd098 | |
parent | 97a9a1b93b8d2b333de87b4cb2ec2bce4c415ffe (diff) | |
download | meta-openembedded-8bc16df184b17aef043f8f92d515fced7f4ea5fc.tar.gz |
bpftrace: fix do_configure failure when ptest disabled
After upgrade to 0.24.0, do_configure failed with error:
| CMake Error at cmake/Embed.cmake:3 (find_program):
| Could not find XXD using the following names: xxd
| Call Stack (most recent call first):
| src/stdlib/CMakeLists.txt:1 (include)
[1] https://github.com/bpftrace/bpftrace/commit/df21d917d9cced77ebde1202c1b3508a169f46a0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.0.bb index f7b2e7485a..50fada36bf 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.0.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/bpftrace/bpftrace_0.24.0.bb | |||
@@ -11,6 +11,7 @@ DEPENDS += "bison-native \ | |||
11 | bcc \ | 11 | bcc \ |
12 | libcereal \ | 12 | libcereal \ |
13 | libbpf \ | 13 | libbpf \ |
14 | xxd-native \ | ||
14 | " | 15 | " |
15 | DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'pahole-native llvm-native', '', d)}" | 16 | DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'pahole-native llvm-native', '', d)}" |
16 | 17 | ||
@@ -34,7 +35,7 @@ PACKAGECONFIG ?= " \ | |||
34 | ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \ | 35 | ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \ |
35 | " | 36 | " |
36 | 37 | ||
37 | PACKAGECONFIG[tests] = "-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF,gtest xxd-native" | 38 | PACKAGECONFIG[tests] = "-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF,gtest" |
38 | PACKAGECONFIG[systemd] = "-DENABLE_SYSTEMD=ON,-DENABLE_SYSTEMD=OFF,systemd" | 39 | PACKAGECONFIG[systemd] = "-DENABLE_SYSTEMD=ON,-DENABLE_SYSTEMD=OFF,systemd" |
39 | 40 | ||
40 | do_install_ptest() { | 41 | do_install_ptest() { |