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