I presume the attached patch will work, but given the tests are only run on an architecture I do not have (easy) access to, I did not test it.
Good luck. Chris
diff -Nru sbsigntool-0.9.4/debian/patches/objcopy-target.patch sbsigntool-0.9.4/debian/patches/objcopy-target.patch --- sbsigntool-0.9.4/debian/patches/objcopy-target.patch 1970-01-01 01:00:00.000000000 +0100 +++ sbsigntool-0.9.4/debian/patches/objcopy-target.patch 2026-01-05 23:00:59.000000000 +0100 @@ -0,0 +1,11 @@ +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -18,7 +18,7 @@ + EFILDFLAGS = --defsym=EFI_SUBSYSTEM=0x0a + FORMAT = -O binary + else +-FORMAT = --target=efi-app-$(EFI_ARCH) ++FORMAT = --output-target=efi-app-$(EFI_ARCH) + endif + check_DATA = $(test_key) $(test_cert) + check_SCRIPTS = test-wrapper.sh diff -Nru sbsigntool-0.9.4/debian/patches/series sbsigntool-0.9.4/debian/patches/series --- sbsigntool-0.9.4/debian/patches/series 2024-09-13 08:55:31.000000000 +0200 +++ sbsigntool-0.9.4/debian/patches/series 2026-01-05 23:00:48.000000000 +0100 @@ -3,3 +3,4 @@ 0001-sbsigntool-add-support-for-RISC-V-images.patch OpenSSL3.patch add-support-for-LoongArch-images.patch +objcopy-target.patch

