diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-10-27 16:39:29 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-30 11:06:28 +0000 |
| commit | 4e38304d6cf1752fb42fba5fd2d21d0d9424331b (patch) | |
| tree | 50582bb42f3b737a0ff54d0d65ec32a24f86c8f2 | |
| parent | 79499fde4284285f60ef8fe44b7fd515ef0edc9d (diff) | |
| download | poky-4e38304d6cf1752fb42fba5fd2d21d0d9424331b.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc index 7d7ffe92ce..d28dcaf402 100644 --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc | |||
| @@ -21,9 +21,10 @@ LDFLAGS:append:toolchain-clang = " -fuse-ld=bfd" | |||
| 21 | do_install () { | 21 | do_install () { |
| 22 | autotools_do_install | 22 | autotools_do_install |
| 23 | 23 | ||
| 24 | # We're not interested in the libs or headers, these would come from the | 24 | # We're not interested in the plugins, libs, or headers, these would come from the |
| 25 | # nativesdk or target version of the binutils recipe | 25 | # nativesdk or target version of the binutils recipe |
| 26 | rm -rf ${D}${prefix}/${TARGET_SYS} | 26 | rm -rf ${D}${prefix}/${TARGET_SYS} |
| 27 | rm -rf ${D}${libdir}/bfd-plugins | ||
| 27 | rm -f ${D}${libdir}/libbfd* | 28 | rm -f ${D}${libdir}/libbfd* |
| 28 | rm -f ${D}${libdir}/libiberty* | 29 | rm -f ${D}${libdir}/libiberty* |
| 29 | rm -f ${D}${libdir}/libopcodes* | 30 | rm -f ${D}${libdir}/libopcodes* |
