On 1/7/26 10:06, Jan Kiszka wrote:
On 07.01.26 08:51, 'Quirin Gylstorff' via EFI Boot Guard wrote:
From: Quirin Gylstorff <[email protected]>
This fixes an build error due to:
* Internal changes to plugin support, and stricter target checking may result
in some errors being exposed in user options passed to the various binutils.
For example objcopy --target=TARGET now will only work if the input file is
for TARGET whereas prior versions of objcopy accepted other target input
files and produced a TARGET output. If you do in fact want the old
behaviour the correct usage is objcopy --output-target=TARGET.
See also Debian bug #1122406.
Signed-off-by: Quirin Gylstorff <[email protected]>
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index c7aed67..bfe5753 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -299,13 +299,13 @@ efi_ldflags = \
$(GNUEFI_LIB_DIR)/crt0-efi-$(ARCH).o
if ARCH_IS_X86
-objcopy_format = --target=efi-app-$(ARCH)
+objcopy_format = --output-target=efi-app-$(ARCH)
else
if OBJCOPY_USE_BINARY_COPY
objcopy_format = -O binary
efi_ldflags += --defsym=EFI_SUBSYSTEM=0xa
else
-objcopy_format = --target=efi-app-$(ARCH)
+objcopy_format = --output-target=efi-app-$(ARCH)
endif
endif
Is this backward compatible with older binutils versions?
I check the man page for stretch
https://manpages.debian.org/stretch/binutils/objcopy.1.en.html.
Which is the oldest supported version?
Quirin>
Jan
--
You received this message because you are subscribed to the Google Groups "EFI Boot
Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/efibootguard-dev/536dd0b5-0f5b-4845-bc4a-0a56eba66ef2%40siemens.com.