]> git.proxmox.com Git - mirror_edk2.git/blame - StandaloneMmPkg/StandaloneMmPkg.dsc
StandaloneMmPkg: switch to NULL DebugLib resolution
[mirror_edk2.git] / StandaloneMmPkg / StandaloneMmPkg.dsc
CommitLineData
da417eb8
SV
1## @file\r
2# Standalone MM Platform.\r
3#\r
4# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
5# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r
6#\r
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15##\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = StandaloneMm\r
24 PLATFORM_GUID = 9A4BBA60-B4F9-47C7-9258-3BD77CAE9322\r
25 PLATFORM_VERSION = 1.0\r
26 DSC_SPECIFICATION = 0x00010011\r
27 OUTPUT_DIRECTORY = Build/StandaloneMm\r
28 SUPPORTED_ARCHITECTURES = IA32|X64|AARCH64\r
29 BUILD_TARGETS = DEBUG|RELEASE\r
30 SKUID_IDENTIFIER = DEFAULT\r
31\r
32 # LzmaF86\r
33 DEFINE COMPRESSION_TOOL_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889\r
34\r
35################################################################################\r
36#\r
37# Library Class section - list of all Library Classes needed by this Platform.\r
38#\r
39################################################################################\r
40[LibraryClasses]\r
41 #\r
42 # Basic\r
43 #\r
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
45 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
8edde27a 46 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
da417eb8
SV
47 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
48 FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf\r
49 HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf\r
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
51 MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf\r
52 MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf\r
53 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
54 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
55 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
56 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
57\r
58 #\r
59 # Entry point\r
60 #\r
61 StandaloneMmDriverEntryPoint|StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
62\r
63[LibraryClasses.AARCH64]\r
64 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
16583ecc 65 StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf\r
da417eb8
SV
66 ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf\r
67 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
0d1fb6cc 68 PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf\r
da417eb8
SV
69\r
70 StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf\r
71\r
72################################################################################\r
73#\r
74# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
75#\r
76################################################################################\r
77[PcdsFeatureFlag]\r
78 gStandaloneMmPkgTokenSpaceGuid.PcdStandaloneMmEnable|TRUE\r
79\r
80[PcdsFixedAtBuild]\r
81 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF\r
82 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff\r
83 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r
84\r
da417eb8
SV
85###################################################################################################\r
86#\r
87# Components Section - list of the modules and components that will be processed by compilation\r
88# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
89#\r
90# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
91# into firmware volume images. This section is just a list of modules to compile from\r
92# source into UEFI-compliant binaries.\r
93# It is the FDF file that contains information on combining binary files into firmware\r
94# volume images, whose concept is beyond UEFI and is described in PI specification.\r
95# Binary modules do not need to be listed in this section, as they should be\r
96# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
97# Logo (Logo.bmp), and etc.\r
98# There may also be modules listed in this section that are not required in the FDF file,\r
99# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
100# generated for it, but the binary will not be put into any firmware volume.\r
101#\r
102###################################################################################################\r
103[Components.common]\r
104 #\r
105 # MM Core\r
106 #\r
107 StandaloneMmPkg/Core/StandaloneMmCore.inf\r
108\r
109[Components.AARCH64]\r
110 StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf\r
111\r
112###################################################################################################\r
113#\r
114# BuildOptions Section - Define the module specific tool chain flags that should be used as\r
115# the default flags for a module. These flags are appended to any\r
116# standard flags that are defined by the build process. They can be\r
117# applied for any modules or only those modules with the specific\r
118# module style (EDK or EDKII) specified in [Components] section.\r
119#\r
120###################################################################################################\r
121[BuildOptions.AARCH64]\r
f8943176
AG
122GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-a+nofp -mstrict-align\r
123GCC:*_*_*_CC_FLAGS = -mstrict-align\r