]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/PlatformCI/QemuBuild.py
ArmVirtPkg/PlatformCI: Add CI coverage for ArmVirtQemuKernel
[mirror_edk2.git] / ArmVirtPkg / PlatformCI / QemuBuild.py
1 # @file
2 # Script to Build OVMF UEFI firmware
3 #
4 # Copyright (c) Microsoft Corporation.
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 ##
7 import os
8 import sys
9
10 sys.path.append(os.path.dirname(os.path.abspath(__file__)))
11 from PlatformBuildLib import SettingsManager
12 from PlatformBuildLib import PlatformBuilder
13
14 # ####################################################################################### #
15 # Common Configuration #
16 # ####################################################################################### #
17 class CommonPlatform():
18 ''' Common settings for this platform. Define static data here and use
19 for the different parts of stuart
20 '''
21 PackagesSupported = ("ArmVirtPkg",)
22 ArchSupported = ("AARCH64", "ARM")
23 TargetsSupported = ("DEBUG", "RELEASE", "NOOPT")
24 Scopes = ('armvirt', 'edk2-build')
25 WorkspaceRoot = os.path.realpath(os.path.join(
26 os.path.dirname(os.path.abspath(__file__)), "..", ".."))
27
28 DscName = os.path.join("ArmVirtPkg", "ArmVirtQemu.dsc")
29
30 # this platform produces a bootable NOR flash image
31 FvQemuArg = " -pflash "
32
33 import PlatformBuildLib
34 PlatformBuildLib.CommonPlatform = CommonPlatform