[oe-commits] [openembedded-core] 20/20: perf: Package libperf-jvmti.so as part of ${PN}

git at git.openembedded.org git at git.openembedded.org
Fri Feb 15 16:08:56 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 460a8aaf6266bc5d717db920f3b98df3f4f1449a
Author: Alex Kiernan <alex.kiernan at gmail.com>
AuthorDate: Tue Jan 15 06:55:07 2019 +0000

    perf: Package libperf-jvmti.so as part of ${PN}
    
    perf's jvmti support builds libperf-jvmti.so that needs to be packaged
    as part of the main package, not a developer package. Given there's no
    files in the developer package, override FILES_SOLIBSDEV so it's not
    gobbled by FILES_${PN}-dev, and then add just that file to FILES_${PN}
    so that if in the future there other files which would be added to the
    dev package we'll fail then.
    
    Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/perf/perf.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index bae4948..515a78b 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -254,7 +254,8 @@ RDEPENDS_${PN}-tests =+ "python"
 RSUGGESTS_SCRIPTING = "${@bb.utils.contains('PACKAGECONFIG', 'scripting', '${PN}-perl ${PN}-python', '',d)}"
 RSUGGESTS_${PN} += "${PN}-archive ${PN}-tests ${RSUGGESTS_SCRIPTING}"
 
-FILES_${PN} += "${libexecdir}/perf-core ${exec_prefix}/libexec/perf-core ${libdir}/traceevent"
+FILES_SOLIBSDEV = ""
+FILES_${PN} += "${libexecdir}/perf-core ${exec_prefix}/libexec/perf-core ${libdir}/traceevent ${libdir}/libperf-jvmti.so"
 FILES_${PN}-archive = "${libdir}/perf/perf-core/perf-archive"
 FILES_${PN}-tests = "${libdir}/perf/perf-core/tests ${libexecdir}/perf-core/tests"
 FILES_${PN}-python = " \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list