On 07.01.26 10:40, Quirin Gylstorff wrote: > > > 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? >
We backport down to buster. Also makes this indeed way more sense. Thanks, applied. Jan -- Siemens AG, Foundational Technologies Linux Expert Center -- 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/81913332-a5d4-4472-a85b-afa882d72572%40siemens.com.
