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>
This commit is contained in:
Cody P Schafer 2017-05-02 15:20:35 -04:00 committed by Richard Purdie
parent ccca9340d2
commit c9043894b8

View File

@ -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"