binutils: package libbfd seperately
PATCH 1/1 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 <[email protected]>
--- meta/recipes-devtools/binutils/binutils.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-devtools/binutils/binutils.inc +4 -0
@@ -21,6 +21,10 @@ EXTRANATIVEPATH_append_class-target = " chrpath-native" inherit autotools gettext multilib_header texinfo +# Split out libbfd-*.so so including perf doesn't include extra stuff +PACKAGE_BEFORE_PN += "libbfd" +FILES_libbfd = "${libdir}/libbfd-*.so" + FILES_${PN} = " \ ${bindir}/${TARGET_PREFIX}* \ ${libdir}/lib*-*.so \
Signature · 1 line
2.12.2