diff options
| author | Yann Dirson <yann@blade-group.com> | 2020-11-12 18:26:12 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-13 14:32:00 +0000 |
| commit | abad536ddfca78e2f8dd6f550b93f63490048540 (patch) | |
| tree | b9d64c71adb786cb0772205a263fa2351218da07 /meta/recipes-kernel/systemtap | |
| parent | 33e95fdb0b6dce4e94ed7a147e6ef3b603844af5 (diff) | |
| download | poky-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>
Diffstat (limited to 'meta/recipes-kernel/systemtap')
| -rw-r--r-- | meta/recipes-kernel/systemtap/systemtap_git.bb | 17 |
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 | ||
| 39 | SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service" | 39 | SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service" |
| 40 | 40 | ||
| 41 | PACKAGES =+ "${PN}-examples" | ||
| 42 | FILES_${PN}-examples = "${datadir}/${BPN}/examples/" | ||
| 43 | RDEPENDS_${PN}-examples += "${PN}" | ||
| 44 | |||
| 45 | # don't complain that some examples involve bash, perl, php... | ||
| 46 | INSANE_SKIP_${PN}-examples += "file-rdeps" | ||
| 47 | |||
| 48 | PACKAGES =+ "${PN}-python" | ||
| 49 | FILES_${PN}-python += "\ | ||
| 50 | ${bindir}/dtrace \ | ||
| 51 | ${libdir}/python*/ \ | ||
| 52 | ${libexecdir}/${BPN}/python/ \ | ||
| 53 | " | ||
| 54 | # python material requires sdt headers | ||
| 55 | RDEPENDS_${PN}-python += "${PN}-dev python3-core" | ||
| 56 | INSANE_SKIP_${PN}-python += "dev-deps" | ||
| 57 | |||
| 41 | do_configure_prepend () { | 58 | do_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'))}" |
