summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Kamensky <victor.kamensky7@gmail.com>2023-12-17 22:07:56 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-20 07:47:00 +0000
commit378a553dc701da628e4fb63a6eec4b83c27f6a10 (patch)
tree3beaf05e5269e770febbf4d488f0bd41eb503738
parentdb2ae4211adec075407aaa6fed452a2b353172ef (diff)
downloadpoky-378a553dc701da628e4fb63a6eec4b83c27f6a10.tar.gz
systemtap: explicit handling debuginfod library dependency
After systemtap commit 2e67b053e3796ee7cf29a39f9698729b52078406 "configury: rework debuginfod searches" automatic detection of libdebuginfod is broken. Let's handle it explicitly with debuginfod package feature. It is good to have such feature anyway. (From OE-Core rev: ba5098fcf2fc771da8790cb2ac4ea8fef4816413) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index d320a8a5e0..0a1349e128 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -24,12 +24,13 @@ STAP_DOCS ?= "--disable-docs --disable-publican --disable-refdocs"
24 24
25EXTRA_OECONF += "${STAP_DOCS} " 25EXTRA_OECONF += "${STAP_DOCS} "
26 26
27PACKAGECONFIG ??= "translator sqlite monitor python3-probes" 27PACKAGECONFIG ??= "translator sqlite monitor python3-probes ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
28PACKAGECONFIG[translator] = "--enable-translator,--disable-translator,boost,bash" 28PACKAGECONFIG[translator] = "--enable-translator,--disable-translator,boost,bash"
29PACKAGECONFIG[libvirt] = "--enable-libvirt,--disable-libvirt,libvirt" 29PACKAGECONFIG[libvirt] = "--enable-libvirt,--disable-libvirt,libvirt"
30PACKAGECONFIG[sqlite] = "--enable-sqlite,--disable-sqlite,sqlite3" 30PACKAGECONFIG[sqlite] = "--enable-sqlite,--disable-sqlite,sqlite3"
31PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor,ncurses json-c" 31PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor,ncurses json-c"
32PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,python3-setuptools-native" 32PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,python3-setuptools-native"
33PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod"
33 34
34inherit autotools gettext pkgconfig systemd 35inherit autotools gettext pkgconfig systemd
35inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)} 36inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)}