[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5917/8267] binutils: package libbfd seperately



commit c9043894b8c855000b21b32c1a5133e13aa97aa9
Author: Cody P Schafer <dev codyps com>
Date:   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.
    
    (From OE-Core rev: d57109e44f1a32d0e39d250ad7e71d7d80757d35)
    
    Signed-off-by: Cody P Schafer <dev codyps com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-devtools/binutils/binutils_2.28.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]