]>
Commit | Line | Data |
---|---|---|
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 | |
7 | import os\r | |
8 | import sys\r | |
9 | \r | |
10 | sys.path.append(os.path.dirname(os.path.abspath(__file__)))\r | |
11 | from PlatformBuildLib import SettingsManager\r | |
12 | from PlatformBuildLib import PlatformBuilder\r | |
13 | \r | |
14 | # ####################################################################################### #\r | |
15 | # Common Configuration #\r | |
16 | # ####################################################################################### #\r | |
17 | class 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 |
33 | import PlatformBuildLib\r |
34 | PlatformBuildLib.CommonPlatform = CommonPlatform\r |