summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Dirson <yann@blade-group.com>2020-11-12 18:26:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-13 14:32:00 +0000
commitabad536ddfca78e2f8dd6f550b93f63490048540 (patch)
treeb9d64c71adb786cb0772205a263fa2351218da07
parent33e95fdb0b6dce4e94ed7a147e6ef3b603844af5 (diff)
downloadpoky-abad536ddfca78e2f8dd6f550b93f63490048540.tar.gz
systemtap: split examples and python scripts out of main package
(From OE-Core rev: ddc82d153f19c6738ec2fa57fc2fe0c787a893f1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 1c9f2aed16..e98aff1851 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -38,6 +38,23 @@ RDEPENDS_${PN}-exporter = "${PN} python3-core python3-netclient"
38 38
39SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service" 39SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service"
40 40
41PACKAGES =+ "${PN}-examples"
42FILES_${PN}-examples = "${datadir}/${BPN}/examples/"
43RDEPENDS_${PN}-examples += "${PN}"
44
45# don't complain that some examples involve bash, perl, php...
46INSANE_SKIP_${PN}-examples += "file-rdeps"
47
48PACKAGES =+ "${PN}-python"
49FILES_${PN}-python += "\
50 ${bindir}/dtrace \
51 ${libdir}/python*/ \
52 ${libexecdir}/${BPN}/python/ \
53"
54# python material requires sdt headers
55RDEPENDS_${PN}-python += "${PN}-dev python3-core"
56INSANE_SKIP_${PN}-python += "dev-deps"
57
41do_configure_prepend () { 58do_configure_prepend () {
42 # Improve reproducibility for c++ object files 59 # Improve reproducibility for c++ object files
43 reltivepath="${@os.path.relpath(d.getVar('STAGING_INCDIR'), d.getVar('S'))}" 60 reltivepath="${@os.path.relpath(d.getVar('STAGING_INCDIR'), d.getVar('S'))}"