diff options
author | Cengiz Can <cengiz@kernel.wtf> | 2019-11-28 18:28:24 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-11-29 16:41:22 -0800 |
commit | 0953369cd164570ed594c8ed98448121b51934a0 (patch) | |
tree | a3c8dc6453efdf4160321dea4a13dcbbcefa38df | |
parent | e725436832fde304ff14e59dc241c41ba9933c45 (diff) | |
download | meta-openembedded-0953369cd164570ed594c8ed98448121b51934a0.tar.gz |
recipes-support: gperftools: RDEPENDS for pprof
gperftools comes with pprof tool that usually needs to be run at target
machine to aggregate CPUPROFILE data.
However since we were not shipping objdump (binutils), Getopt::long
and POSIX perl5 modules, it was failing.
I've extended RDEPENDS_${PN} with those so that whenever someone
installs gperftools, those dependencies are fulfilled as well.
Signed-off-by: Cengiz Can <cengiz@kernel.wtf>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb index 731c83516b..ee34acec24 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb | |||
@@ -35,5 +35,10 @@ PACKAGECONFIG[static] = "--enable-static,--disable-static," | |||
35 | 35 | ||
36 | PACKAGE_BEFORE_PN += "libtcmalloc-minimal" | 36 | PACKAGE_BEFORE_PN += "libtcmalloc-minimal" |
37 | FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}" | 37 | FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}" |
38 | |||
39 | # pprof tool requires Getopt::long and POSIX perl5 modules. | ||
40 | # Also runs `objdump` on each cpuprofile data file | ||
41 | RDEPENDS_${PN} += "binutils perl-module-getopt-long perl-module-posix" | ||
42 | |||
38 | RDEPENDS_${PN} += "libtcmalloc-minimal (= ${EXTENDPKGV})" | 43 | RDEPENDS_${PN} += "libtcmalloc-minimal (= ${EXTENDPKGV})" |
39 | 44 | ||