summaryrefslogtreecommitdiff
path: root/OvmfPkg/PlatformCI/QemuBuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/PlatformCI/QemuBuild.py')
-rw-r--r--OvmfPkg/PlatformCI/QemuBuild.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/OvmfPkg/PlatformCI/QemuBuild.py b/OvmfPkg/PlatformCI/QemuBuild.py
index c737d98..e80e0cb 100644
--- a/OvmfPkg/PlatformCI/QemuBuild.py
+++ b/OvmfPkg/PlatformCI/QemuBuild.py
@@ -19,7 +19,7 @@ class CommonPlatform():
for the different parts of stuart
'''
PackagesSupported = ("OvmfPkg",)
- ArchSupported = ("RISCV64",)
+ ArchSupported = ("RISCV64","LOONGARCH64")
TargetsSupported = ("DEBUG", "RELEASE", "NOOPT")
Scopes = ('ovmf', 'edk2-build')
WorkspaceRoot = os.path.realpath(os.path.join(
@@ -31,7 +31,11 @@ class CommonPlatform():
ArchCsv: csv string containing all architectures to build
'''
- return "RiscVVirt/RiscVVirtQemu.dsc"
+ if "RISCV64" in ArchCsv.upper().split(","):
+ dsc = "RiscVVirt/RiscVVirtQemu.dsc"
+ if "LOONGARCH64" in ArchCsv.upper().split(","):
+ dsc = "LoongArchVirt/LoongArchVirtQemu.dsc"
+ return dsc
import PlatformBuildLib
PlatformBuildLib.CommonPlatform = CommonPlatform