ArmPkg: only attempt buildin MmCommunicationDxe for AArch64
[mirror_edk2.git] / SignedCapsulePkg / SignedCapsulePkg.dsc
CommitLineData
b1067637
JY
1## @file\r
2# This package provides EDKII capsule related support.\r
3#\r
c0b2816d 4# Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>\r
b1067637 5#\r
fbf06957 6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
b1067637
JY
7#\r
8##\r
9\r
10[Defines]\r
11 PLATFORM_NAME = SignedCapsulePkg\r
12 PLATFORM_GUID = 164E16D7-B56A-416D-92FF-0A63983733F6\r
13 PLATFORM_VERSION = 0.96\r
14 DSC_SPECIFICATION = 0x00010005\r
15 OUTPUT_DIRECTORY = Build/SignedCapsulePkg\r
3b6c73f1 16 SUPPORTED_ARCHITECTURES = AARCH64|ARM|IA32|X64\r
b1067637
JY
17 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
18 SKUID_IDENTIFIER = DEFAULT\r
19\r
20[LibraryClasses]\r
21 #\r
22 # Entry point\r
23 #\r
24 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
25 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
26 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
27 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
28 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
29 #\r
30 # Basic\r
31 #\r
32 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
33 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
34 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
35 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
36 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
37 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
38 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
39 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
40 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
41 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
42 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
43 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r
44 #\r
45 # UEFI & PI\r
46 #\r
47 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
48 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
49 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
50 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
51 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
52 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
53 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
54 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
55 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
56 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
57 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
58 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
59 #\r
60 # Generic Modules\r
61 #\r
62 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
63 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
b1067637
JY
64 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
65 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
66 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
67 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
68 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
b1067637
JY
69 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
70 #\r
71 # Misc\r
72 #\r
73 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
74 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
75 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
76 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
77 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
78 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
79 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
80 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf\r
81 SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
82 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
83 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
84 PlatformBootManagerLib|MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManagerLibNull.inf\r
85 PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf\r
86 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
87 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
88 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
89 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
b1067637
JY
90\r
91 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
92 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
93 PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf\r
94\r
3b6c73f1
LL
95[LibraryClasses.ARM]\r
96 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
97\r
0f28c513 98[LibraryClasses.AARCH64, LibraryClasses.ARM]\r
3b6c73f1
LL
99 #\r
100 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
101 # This library provides the instrinsic functions generate by a given compiler.\r
102 # And NULL mean link this library into all ARM images.\r
103 #\r
104 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
105\r
106 # Add support for GCC stack protector\r
107 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
108\r
b1067637
JY
109[LibraryClasses.common.PEI_CORE]\r
110 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
111 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
112\r
113[LibraryClasses.common.PEIM]\r
114 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
115 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
116 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
3137900f
MK
117!ifdef CONTINUOUS_INTEGRATION\r
118 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
119!else\r
120 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
121 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
b1067637 122 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
3137900f 123!endif\r
b1067637
JY
124\r
125[LibraryClasses.common.DXE_CORE]\r
126 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
127 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
128\r
129[LibraryClasses.common.DXE_DRIVER]\r
130 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
131 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
3137900f
MK
132!ifdef CONTINUOUS_INTEGRATION\r
133 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
134!else\r
135 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
136 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
b1067637 137 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
3137900f 138!endif\r
b1067637
JY
139\r
140 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf\r
141\r
142[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
143 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
144 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
145 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
3137900f
MK
146!ifdef CONTINUOUS_INTEGRATION\r
147 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
148!else\r
149 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
150 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
b1067637 151 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
3137900f 152!endif\r
b1067637
JY
153\r
154 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf\r
155\r
156[LibraryClasses.common.SMM_CORE]\r
157 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
158 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
159 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
160 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
161 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
162\r
163[LibraryClasses.common.DXE_SMM_DRIVER]\r
164 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
c0b2816d 165 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
b1067637
JY
166 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
167 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
168 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
3137900f
MK
169!ifdef CONTINUOUS_INTEGRATION\r
170 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
171!else\r
172 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
173 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
b1067637 174 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
3137900f 175!endif\r
b1067637
JY
176\r
177[LibraryClasses.common.UEFI_DRIVER]\r
178 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
179 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
180 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
3137900f
MK
181!ifdef CONTINUOUS_INTEGRATION\r
182 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
183!else\r
184 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
185 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
b1067637 186 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
3137900f 187!endif\r
b1067637
JY
188\r
189[LibraryClasses.common.UEFI_APPLICATION]\r
190 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
191 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
192 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
3137900f
MK
193!ifdef CONTINUOUS_INTEGRATION\r
194 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
195!else\r
196 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
197 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
b1067637 198 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
3137900f 199!endif\r
b1067637
JY
200\r
201[PcdsFixedAtBuild]\r
202 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
203 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
204\r
205[PcdsDynamicExDefault]\r
206 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100\r
207\r
208###################################################################################################\r
209#\r
210# Components Section - list of the modules and components that will be processed by compilation\r
211# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
212#\r
213# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
214# into firmware volume images. This section is just a list of modules to compile from\r
215# source into UEFI-compliant binaries.\r
216# It is the FDF file that contains information on combining binary files into firmware\r
217# volume images, whose concept is beyond UEFI and is described in PI specification.\r
218# Binary modules do not need to be listed in this section, as they should be\r
219# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
220# Logo (Logo.bmp), and etc.\r
221# There may also be modules listed in this section that are not required in the FDF file,\r
222# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
223# generated for it, but the binary will not be put into any firmware volume.\r
224#\r
225###################################################################################################\r
226\r
227[Components]\r
228 SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
229 SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
230 SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf\r
231\r
232 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {\r
233 <LibraryClasses>\r
234 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
235 }\r
236 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {\r
237 <LibraryClasses>\r
238 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
239 }\r
240 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {\r
241 <LibraryClasses>\r
242 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
243 }\r
244\r
245[BuildOptions]\r
246 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r