mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 00:50:00 +00:00
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>
This commit is contained in:
@@ -11,6 +11,7 @@ DEPENDS += "bison-native \
|
|||||||
bcc \
|
bcc \
|
||||||
libcereal \
|
libcereal \
|
||||||
libbpf \
|
libbpf \
|
||||||
|
xxd-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)}"
|
||||||
|
|
||||||
@@ -34,7 +35,7 @@ PACKAGECONFIG ?= " \
|
|||||||
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \
|
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
PACKAGECONFIG[tests] = "-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF,gtest xxd-native"
|
PACKAGECONFIG[tests] = "-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF,gtest"
|
||||||
PACKAGECONFIG[systemd] = "-DENABLE_SYSTEMD=ON,-DENABLE_SYSTEMD=OFF,systemd"
|
PACKAGECONFIG[systemd] = "-DENABLE_SYSTEMD=ON,-DENABLE_SYSTEMD=OFF,systemd"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
|
|||||||
Reference in New Issue
Block a user