[oe-commits] [openembedded-core] 19/38: binutils: package libbfd seperately

git at git.openembedded.org git at git.openembedded.org
Thu May 18 12:30:54 UTC 2017


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 b373e6af3497d27d9ab6642e5d47305b30e0a452
Author: Cody P Schafer <dev at codyps.com>
AuthorDate: Tue May 2 15:20:35 2017 -0400

    binutils: package libbfd seperately
    
    Some tools (my issue was with 'perf') only need the libbfd component of
    binutils, so we can save space in images by splitting it out.
    
    Previously, instead of `perf` pulling in `libbfd-VERSION.so`, it pulled
    in all the libraries and binaries from binutils.
    
    Signed-off-by: Cody P Schafer <dev at codyps.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/binutils/binutils_2.28.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/binutils/binutils_2.28.bb b/meta/recipes-devtools/binutils/binutils_2.28.bb
index b51437b..51a9748 100644
--- a/meta/recipes-devtools/binutils/binutils_2.28.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.28.bb
@@ -42,4 +42,8 @@ do_install_class-native () {
 	rmdir ${D}/${libdir}64 || :
 }
 
+# Split out libbfd-*.so so including perf doesn't include extra stuff
+PACKAGE_BEFORE_PN += "libbfd"
+FILES_libbfd = "${libdir}/libbfd-*.so"
+
 BBCLASSEXTEND = "native nativesdk"

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


More information about the Openembedded-commits mailing list