]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gnu-efi: Use objcopy from GNU binutils with clang
authorKhem Raj <raj.khem@gmail.com>
Wed, 21 May 2025 06:19:41 +0000 (23:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 May 2025 10:24:50 +0000 (11:24 +0100)
llvm-objcopy reports errors which needs further investigations but
stick to binutils provided objcopy meanwhile

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-bsp/gnu-efi/gnu-efi_4.0.0.bb

index 29d9e695a9213d63d10ca62b6e77eab291615331..cee320a510a117be0b1f4c554a9954341a065d71 100644 (file)
@@ -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() {