Source: efibootguard
Version: 0.15-1
Severity: wishlist
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

Maybe we need to add loongarch64 support in configure.ac.
Please consider the patch I have attached.

I would like to remind you that the compilation dependency of efibootguard is not yet satisfied. Depends on the gnu-efi package when compiling efibootguard. We hope that the gnu-efi source package can support the loongarch architecture (LoongArch patch has been merged in upstream). We have submitted the Bug request to Debian BTS, please see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025787.

If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang

diff --git a/configure.ac b/configure.ac
index 90d70b0..cd02a11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -88,6 +88,7 @@ SET_ARCH(IA64, ia64*)
 SET_ARCH(AARCH64, aarch64*)
 SET_ARCH(ARM, arm*)
 SET_ARCH(RISCV64, riscv64*)
+SET_ARCH(LOONGARCH64, loongarch64*)
 
 ARCH=$(echo $host | sed "s/\(-\).*$//")
 
@@ -107,6 +108,9 @@ AM_COND_IF(ARCH_ARM, [
 AM_COND_IF(ARCH_RISCV64, [
           MACHINE_TYPE_NAME=riscv64])
 
+AM_COND_IF(ARCH_LOONGARCH64, [
+          MACHINE_TYPE_NAME=loongarch64])
+
 AC_SUBST([ARCH])
 AC_SUBST([MACHINE_TYPE_NAME])
 AM_CONDITIONAL([ARCH_IS_X86], [test "$ARCH" = "ia32" -o "$ARCH" = "x86_64"])

Reply via email to