summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2017-05-02 15:20:35 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-18 14:01:47 +0100
commitc9043894b8c855000b21b32c1a5133e13aa97aa9 (patch)
tree9009fa98e4b51e6f5e1afdad592dfdb6e669ab20 /meta
parentccca9340d273cb5f3e44255dc3bd8a1815ae91f5 (diff)
downloadpoky-c9043894b8c855000b21b32c1a5133e13aa97aa9.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.28.bb4
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 b51437bbc3..51a9748906 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 () {
42 rmdir ${D}/${libdir}64 || : 42 rmdir ${D}/${libdir}64 || :
43} 43}
44 44
45# Split out libbfd-*.so so including perf doesn't include extra stuff
46PACKAGE_BEFORE_PN += "libbfd"
47FILES_libbfd = "${libdir}/libbfd-*.so"
48
45BBCLASSEXTEND = "native nativesdk" 49BBCLASSEXTEND = "native nativesdk"