summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap
diff options
context:
space:
mode:
authorYann Dirson <yann@blade-group.com>2020-11-17 10:54:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-24 10:27:44 +0000
commitbfaa03527a24ef338d7087e26c654640202bbde2 (patch)
tree9b869a5751ebf16df50ea9330c20c0b287716be3 /meta/recipes-kernel/systemtap
parentf729559301779b39c95511eb73cb66adb35a95fe (diff)
downloadpoky-bfaa03527a24ef338d7087e26c654640202bbde2.tar.gz
systemtap: avoid RDEPENDS on python3-core when not using python3
distutils3-base.bbclass unconditionally adds python3-core to RDEPENDS_${PN}, yuck. (From OE-Core rev: 323b9728b31f785d64722ab3b03fae8d687f7cf4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/systemtap')
-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 8dad5b15f0..923d64b975 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -25,7 +25,8 @@ PACKAGECONFIG[sqlite] = "--enable-sqlite,--disable-sqlite,sqlite3"
25PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor,ncurses json-c" 25PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor,ncurses json-c"
26PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,python3-setuptools-native" 26PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,python3-setuptools-native"
27 27
28inherit autotools gettext pkgconfig distutils3-base systemd 28inherit autotools gettext pkgconfig systemd
29inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'distutils3-base', '', d)}
29 30
30# exporter comes with python3-probes 31# exporter comes with python3-probes
31PACKAGES =+ "${PN}-exporter" 32PACKAGES =+ "${PN}-exporter"