summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorAlan Perry <alanp@snowmoose.com>2020-12-16 07:37:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-18 22:52:25 +0000
commitf1a2ee5a18f565c2e63743af3191b6834941bde9 (patch)
tree0681a39977b855c828c16e617ca36afaba23dc28 /meta/recipes-devtools/binutils
parent98045767ea3ae31539ade2e29f278714ff8ea87b (diff)
downloadpoky-f1a2ee5a18f565c2e63743af3191b6834941bde9.tar.gz
binutils: add libopcodes package for perf
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. (From OE-Core rev: 514b595bda487ff74ae16539d716628a1d0be8af) Signed-off-by: Alan Perry <alanp@snowmoose.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.35.bb6
1 files 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 () {
52 rmdir ${D}/${libdir}64 || : 52 rmdir ${D}/${libdir}64 || :
53} 53}
54 54
55# Split out libbfd-*.so so including perf doesn't include extra stuff 55# Split out libbfd-*.so and libopcodes-*.so so including perf doesn't include
56PACKAGE_BEFORE_PN += "libbfd" 56# extra stuff
57PACKAGE_BEFORE_PN += "libbfd libopcodes"
57FILES_libbfd = "${libdir}/libbfd-*.so.* ${libdir}/libbfd-*.so" 58FILES_libbfd = "${libdir}/libbfd-*.so.* ${libdir}/libbfd-*.so"
59FILES_libopcodes = "${libdir}/libopcodes-*.so.* ${libdir}/libopcodes-*.so"
58 60
59SRC_URI_append_class-nativesdk = " file://0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch " 61SRC_URI_append_class-nativesdk = " file://0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch "
60 62