Felix Moessbauer
unread,Jan 31, 2023, 3:27:46 AM1/31/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to efibootg...@googlegroups.com, christi...@siemens.com, daniel.bo...@siemens.com, Felix Moessbauer
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 <
felix.mo...@siemens.com>
---
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