]> git.proxmox.com Git - mirror_edk2.git/blame - SignedCapsulePkg/SignedCapsulePkg.dsc
SecurityPkg Tcg2Dxe: Add Variable Arch protocol dependency
[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
90 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
91 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
92\r
93 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
94 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
95 PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf\r
96\r
3b6c73f1
LL
97[LibraryClasses.ARM]\r
98 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
99\r
100 #\r
101 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
102 # This library provides the instrinsic functions generate by a given compiler.\r
103 # And NULL mean link this library into all ARM images.\r
104 #\r
105 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
106\r
107 # Add support for GCC stack protector\r
108 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
109\r
b1067637
JY
110[LibraryClasses.common.PEI_CORE]\r
111 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
112 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
113\r
114[LibraryClasses.common.PEIM]\r
115 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
116 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
117 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
118 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
119\r
120[LibraryClasses.common.DXE_CORE]\r
121 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
122 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
123\r
124[LibraryClasses.common.DXE_DRIVER]\r
125 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
126 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
127 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
128\r
129 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf\r
130\r
131[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
132 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
133 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
134 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
135 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
136\r
137 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf\r
138\r
139[LibraryClasses.common.SMM_CORE]\r
140 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
141 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
142 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
143 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
144 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
145\r
146[LibraryClasses.common.DXE_SMM_DRIVER]\r
147 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
c0b2816d 148 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
b1067637
JY
149 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
150 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
151 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
152 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
153\r
154[LibraryClasses.common.UEFI_DRIVER]\r
155 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
156 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
157 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
158 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
159\r
160[LibraryClasses.common.UEFI_APPLICATION]\r
161 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
162 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
163 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
164 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
165\r
166[PcdsFixedAtBuild]\r
167 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
168 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
169\r
170[PcdsDynamicExDefault]\r
171 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100\r
172\r
173###################################################################################################\r
174#\r
175# Components Section - list of the modules and components that will be processed by compilation\r
176# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
177#\r
178# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
179# into firmware volume images. This section is just a list of modules to compile from\r
180# source into UEFI-compliant binaries.\r
181# It is the FDF file that contains information on combining binary files into firmware\r
182# volume images, whose concept is beyond UEFI and is described in PI specification.\r
183# Binary modules do not need to be listed in this section, as they should be\r
184# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
185# Logo (Logo.bmp), and etc.\r
186# There may also be modules listed in this section that are not required in the FDF file,\r
187# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
188# generated for it, but the binary will not be put into any firmware volume.\r
189#\r
190###################################################################################################\r
191\r
192[Components]\r
193 SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
194 SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
195 SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf\r
196\r
197 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {\r
198 <LibraryClasses>\r
199 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
200 }\r
201 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {\r
202 <LibraryClasses>\r
203 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
204 }\r
205 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {\r
206 <LibraryClasses>\r
207 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
208 }\r
209\r
210[BuildOptions]\r
211 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r