diff options
author | Cody P Schafer <dev@codyps.com> | 2017-05-02 15:20:35 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-18 14:01:39 +0100 |
commit | d57109e44f1a32d0e39d250ad7e71d7d80757d35 (patch) | |
tree | 585a78c052824a135ee6abbbea825850d23e5909 | |
parent | 03a569aec764fab4dadbe4461eec15d4d38111a0 (diff) | |
download | openembedded-core-contrib-d57109e44f1a32d0e39d250ad7e71d7d80757d35.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.
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | 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 b51437bbc38..51a9748906a 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" |