mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
binutils-cross-canadian: Do not install bdf-plugins
for SDK they are provided via nativesdk-binutils latest binutils have started to build libdep plugin as static library libdep.a which is then reported via build QA ERROR: QA Issue: non -staticdev package contains static .a library: binutils-cross-canadian-aarch64 path '/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-oe-linux/bfd-plugins/libdep.a' [staticdev] (From OE-Core rev: c871ad4ee62594c05d34b6ed2543d804a4ece07d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -21,9 +21,10 @@ LDFLAGS:append:toolchain-clang = " -fuse-ld=bfd"
|
|||||||
do_install () {
|
do_install () {
|
||||||
autotools_do_install
|
autotools_do_install
|
||||||
|
|
||||||
# We're not interested in the libs or headers, these would come from the
|
# We're not interested in the plugins, libs, or headers, these would come from the
|
||||||
# nativesdk or target version of the binutils recipe
|
# nativesdk or target version of the binutils recipe
|
||||||
rm -rf ${D}${prefix}/${TARGET_SYS}
|
rm -rf ${D}${prefix}/${TARGET_SYS}
|
||||||
|
rm -rf ${D}${libdir}/bfd-plugins
|
||||||
rm -f ${D}${libdir}/libbfd*
|
rm -f ${D}${libdir}/libbfd*
|
||||||
rm -f ${D}${libdir}/libiberty*
|
rm -f ${D}${libdir}/libiberty*
|
||||||
rm -f ${D}${libdir}/libopcodes*
|
rm -f ${D}${libdir}/libopcodes*
|
||||||
|
|||||||
Reference in New Issue
Block a user