]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/CapsuleRuntimeDxe: Add LoongArch64 architecture.
authorChao Li <lichao@loongson.cn>
Fri, 12 Nov 2021 06:48:25 +0000 (14:48 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 14 Oct 2022 02:16:33 +0000 (02:16 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053

Add LoongArch in INF for building CapsuleRuntimeDxe LoongArch64 image.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf

index 8bf5035a69278519927d975366506c6e614fd17d..601eada1703578630005b9a73da9dcbe5f8b98ae 100644 (file)
@@ -6,6 +6,7 @@
 #\r
 #  Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>\r
 #  Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
+#  Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>\r
 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 EBC ARM AARCH64 RISCV64\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC ARM AARCH64 RISCV64 LOONGARCH64\r
 #\r
 \r
 [Sources]\r
   CapsuleService.c\r
   CapsuleService.h\r
 \r
-[Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64, Sources.RISCV64]\r
+[Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64, Sources.RISCV64, Sources.LOONGARCH64]\r
   SaveLongModeContext.c\r
 \r
-[Sources.Ia32, Sources.X64, Sources.ARM, Sources.AARCH64, Sources.RISCV64]\r
+[Sources.Ia32, Sources.X64, Sources.ARM, Sources.AARCH64, Sources.RISCV64, Sources.LOONGARCH64]\r
   CapsuleCache.c\r
 \r
-[Sources.Ia32, Sources.X64, Sources.EBC, Sources.RISCV64]\r
+[Sources.Ia32, Sources.X64, Sources.EBC, Sources.RISCV64, Sources.LOONGARCH64]\r
   CapsuleReset.c\r
 \r
 [Sources.ARM, Sources.AARCH64]\r