public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] binutils: add libopcodes package for perf
@ 2020-12-16  7:37 Alan Perry
  2020-12-16 18:27 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Perry @ 2020-12-16  7:37 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alan Perry

Add a package for libopcodes, since, like libbfd, it is needed by
perf. Without separate packages for these libraries, all of the
binutil tools get added as well.

Signed-off-by: Alan Perry <alanp@snowmoose.com>
---
 meta/recipes-devtools/binutils/binutils_2.35.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/binutils/binutils_2.35.bb b/meta/recipes-devtools/binutils/binutils_2.35.bb
index 2e645e1ed8..976e49765a 100644
--- a/meta/recipes-devtools/binutils/binutils_2.35.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.35.bb
@@ -52,9 +52,11 @@ do_install_class-native () {
 	rmdir ${D}/${libdir}64 || :
 }
 
-# Split out libbfd-*.so so including perf doesn't include extra stuff
-PACKAGE_BEFORE_PN += "libbfd"
+# Split out libbfd-*.so and libopcodes-*.so so including perf doesn't include
+# extra stuff
+PACKAGE_BEFORE_PN += "libbfd libopcodes"
 FILES_libbfd = "${libdir}/libbfd-*.so.* ${libdir}/libbfd-*.so"
+FILES_libopcodes = "${libdir}/libopcodes-*.so.* ${libdir}/libopcodes-*.so"
 
 SRC_URI_append_class-nativesdk =  " file://0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch "
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-16 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16  7:37 [PATCH] binutils: add libopcodes package for perf Alan Perry
2020-12-16 18:27 ` [OE-core] " Khem Raj
2020-12-16 18:57   ` Alan Perry
2020-12-16 19:00     ` Khem Raj
2020-12-16 20:06       ` Alan Perry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox