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