diff options
author | Yann Dirson <yann@blade-group.com> | 2020-11-17 10:54:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-24 10:27:44 +0000 |
commit | bfaa03527a24ef338d7087e26c654640202bbde2 (patch) | |
tree | 9b869a5751ebf16df50ea9330c20c0b287716be3 /meta/recipes-kernel/systemtap | |
parent | f729559301779b39c95511eb73cb66adb35a95fe (diff) | |
download | poky-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.bb | 3 |
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" | |||
25 | PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor,ncurses json-c" | 25 | PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor,ncurses json-c" |
26 | PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,python3-setuptools-native" | 26 | PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,python3-setuptools-native" |
27 | 27 | ||
28 | inherit autotools gettext pkgconfig distutils3-base systemd | 28 | inherit autotools gettext pkgconfig systemd |
29 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'distutils3-base', '', d)} | ||
29 | 30 | ||
30 | # exporter comes with python3-probes | 31 | # exporter comes with python3-probes |
31 | PACKAGES =+ "${PN}-exporter" | 32 | PACKAGES =+ "${PN}-exporter" |