diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-05-20 23:19:41 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-27 09:01:16 +0100 |
| commit | 21bd33baa0baa6413255d6e0ac88752003a9006c (patch) | |
| tree | 9784fa139efdcc6c7195e0e918c412fa9d4cb0b9 | |
| parent | fe11965d145fd74617adbfb107e13132f2c68f16 (diff) | |
| download | poky-21bd33baa0baa6413255d6e0ac88752003a9006c.tar.gz | |
gnu-efi: Use objcopy from GNU binutils with clang
llvm-objcopy reports errors which needs further investigations but
stick to binutils provided objcopy meanwhile
(From OE-Core rev: 5476ecaac46dfeefac9b4f2c9c18d5d57ab1ea0b)
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-bsp/gnu-efi/gnu-efi_4.0.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.0.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.0.bb index 29d9e695a9..cee320a510 100644 --- a/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.0.bb +++ b/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.0.bb | |||
| @@ -22,6 +22,10 @@ SRCREV = "5ea320f0f01c8de8f9dd4e4e38a245608f0287dd" | |||
| 22 | 22 | ||
| 23 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
| 24 | 24 | ||
| 25 | # llvm-objcopy fails | ||
| 26 | # arm-poky-linux-gnueabi-llvm-objcopy: error: 't8.so': section '.dynstr' cannot be removed because it is referenced by the section '.dynamic' | ||
| 27 | OBJCOPY:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
| 28 | |||
| 25 | inherit github-releases | 29 | inherit github-releases |
| 26 | 30 | ||
| 27 | do_configure:linux-gnux32:prepend() { | 31 | do_configure:linux-gnux32:prepend() { |
