By adding the machine type name, the generated efi binary for
riscv64 is suffixed with the corresponding efi machine name.

Signed-off-by: Felix Moessbauer <[email protected]>
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index d8f9d3a..90d70b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,7 @@ SET_ARCH(X86_64, x86_64*)
 SET_ARCH(IA64, ia64*)
 SET_ARCH(AARCH64, aarch64*)
 SET_ARCH(ARM, arm*)
+SET_ARCH(RISCV64, riscv64*)
 
 ARCH=$(echo $host | sed "s/\(-\).*$//")
 
@@ -103,6 +104,9 @@ AM_COND_IF(ARCH_AARCH64, [
 AM_COND_IF(ARCH_ARM, [
           MACHINE_TYPE_NAME=arm])
 
+AM_COND_IF(ARCH_RISCV64, [
+          MACHINE_TYPE_NAME=riscv64])
+
 AC_SUBST([ARCH])
 AC_SUBST([MACHINE_TYPE_NAME])
 AM_CONDITIONAL([ARCH_IS_X86], [test "$ARCH" = "ia32" -o "$ARCH" = "x86_64"])
-- 
2.30.2

-- 
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 on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20230131082731.503616-1-felix.moessbauer%40siemens.com.

Reply via email to