]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
binutils-cross-canadian: Do not install bdf-plugins
authorKhem Raj <raj.khem@gmail.com>
Mon, 27 Oct 2025 23:39:29 +0000 (16:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Oct 2025 11:06:22 +0000 (11:06 +0000)
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]

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>
meta/recipes-devtools/binutils/binutils-cross-canadian.inc

index 7d7ffe92ce1fab4d99ac8a383ffd7c5a28946d2d..d28dcaf402263e41ecc35ccc6639a23c0cfad410 100644 (file)
@@ -21,9 +21,10 @@ LDFLAGS:append:toolchain-clang = " -fuse-ld=bfd"
 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
        rm -rf ${D}${prefix}/${TARGET_SYS}
+       rm -rf ${D}${libdir}/bfd-plugins
        rm -f ${D}${libdir}/libbfd*
        rm -f ${D}${libdir}/libiberty*
        rm -f ${D}${libdir}/libopcodes*