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 May 12, 2022
1 parent 1846b36 commit d6ef5d5
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 @@ -421,6 +421,8 @@ if build_standalone and efiboot.found() and efivar.found()
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 @@ -26,6 +26,8 @@ fu_uefi_bootmgr_get_suffix(GError **error)
{64, "x64"},
#elif defined(__aarch64__)
{64, "aa64"},
#elif defined(__loongarch64)
{64, "loongarch64"},
#endif
#if defined(__x86_64__) || defined(__i386__) || defined(__i686__)
{32, "ia32"},
Expand Down

0 comments on commit d6ef5d5

Please sign in to comment.