]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GNUmakefile
BaseTools: Add LoongArch64 binding.
[mirror_edk2.git] / BaseTools / Source / C / GNUmakefile
index 8c191e0c38176cded43f7c5a6349ff95615c94a0..5275f657efe8d4c6a921c6fe58d07e4c6c899a8a 100644 (file)
@@ -29,6 +29,9 @@ ifndef HOST_ARCH
   ifneq (,$(findstring riscv64,$(uname_m)))\r
     HOST_ARCH=RISCV64\r
   endif\r
+  ifneq (,$(findstring loongarch64,$(uname_m)))\r
+    HOST_ARCH=LOONGARCH64\r
+  endif\r
   ifndef HOST_ARCH\r
     $(info Could not detected HOST_ARCH from uname results)\r
     $(error HOST_ARCH is not defined!)\r