Skip to content

Commit

Permalink
Add support for loongarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed Nov 23, 2023
1 parent 96e2d48 commit a1cd97f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ if build_standalone
EFI_MACHINE_TYPE_NAME = 'arm'
elif host_cpu == 'aarch64'
EFI_MACHINE_TYPE_NAME = 'aa64'
elif host_cpu == 'loongarch64'
EFI_MACHINE_TYPE_NAME = 'loongarch64'
else
EFI_MACHINE_TYPE_NAME = ''
endif
Expand Down
2 changes: 2 additions & 0 deletions plugins/uefi-capsule/fu-uefi-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ fu_uefi_bootmgr_get_suffix(GError **error)
{64, "x64"},
#elif defined(__aarch64__)
{64, "aa64"},
#elif defined(__loongarch_lp64)
{64, "loongarch64"},
#endif
#if defined(__x86_64__) || defined(__i386__) || defined(__i686__)
{32, "ia32"},
Expand Down

0 comments on commit a1cd97f

Please sign in to comment.