summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/systemtap')
-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'))}"