From: Khem Raj Date: Wed, 21 May 2025 06:19:41 +0000 (-0700) Subject: gnu-efi: Use objcopy from GNU binutils with clang X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5476ecaac46dfeefac9b4f2c9c18d5d57ab1ea0b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gnu-efi: Use objcopy from GNU binutils with clang llvm-objcopy reports errors which needs further investigations but stick to binutils provided objcopy meanwhile Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- 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 29d9e695a92..cee320a510a 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" S = "${WORKDIR}/git" +# llvm-objcopy fails +# arm-poky-linux-gnueabi-llvm-objcopy: error: 't8.so': section '.dynstr' cannot be removed because it is referenced by the section '.dynamic' +OBJCOPY:toolchain-clang = "${HOST_PREFIX}objcopy" + inherit github-releases do_configure:linux-gnux32:prepend() {