mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
f729559301
commit
bfaa03527a
@@ -25,7 +25,8 @@ PACKAGECONFIG[sqlite] = "--enable-sqlite,--disable-sqlite,sqlite3"
|
||||
PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor,ncurses json-c"
|
||||
PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,python3-setuptools-native"
|
||||
|
||||
inherit autotools gettext pkgconfig distutils3-base systemd
|
||||
inherit autotools gettext pkgconfig systemd
|
||||
inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'distutils3-base', '', d)}
|
||||
|
||||
# exporter comes with python3-probes
|
||||
PACKAGES =+ "${PN}-exporter"
|
||||
|
||||
Reference in New Issue
Block a user