]> git.proxmox.com Git - mirror_edk2.git/blob - SignedCapsulePkg/SignedCapsulePkg.dsc
SecurityPkg/AuthVariableLib: allow MM_STANDALONE drivers to use this library
[mirror_edk2.git] / SignedCapsulePkg / SignedCapsulePkg.dsc
1 ## @file
2 # This package provides EDKII capsule related support.
3 #
4 # Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 PLATFORM_NAME = SignedCapsulePkg
18 PLATFORM_GUID = 164E16D7-B56A-416D-92FF-0A63983733F6
19 PLATFORM_VERSION = 0.96
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/SignedCapsulePkg
22 SUPPORTED_ARCHITECTURES = IA32|X64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25
26 [LibraryClasses]
27 #
28 # Entry point
29 #
30 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
31 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
32 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
33 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
34 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
35 #
36 # Basic
37 #
38 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
39 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
40 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
42 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
43 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
44 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
45 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
46 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
47 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
48 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
49 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
50 #
51 # UEFI & PI
52 #
53 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
54 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
55 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
56 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
57 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
58 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
59 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
60 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
61 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
62 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
63 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
64 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
65 #
66 # Generic Modules
67 #
68 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
69 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
70 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
71 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
72 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
73 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
74 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
75 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
76 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
77 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
78 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
79 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
80 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
81 #
82 # Misc
83 #
84 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
85 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
86 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
87 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
88 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
89 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
90 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
91 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
92 SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
93 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
94 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
95 PlatformBootManagerLib|MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManagerLibNull.inf
96 PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf
97 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
98 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
99 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
100 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
101 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
102 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
103
104 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
105 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
106 PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
107
108 [LibraryClasses.common.PEI_CORE]
109 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
110 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
111
112 [LibraryClasses.common.PEIM]
113 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
114 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
115 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
116 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
117
118 [LibraryClasses.common.DXE_CORE]
119 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
120 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
121
122 [LibraryClasses.common.DXE_DRIVER]
123 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
124 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
125 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
126
127 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
128
129 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
130 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
131 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
132 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
133 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
134
135 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
136
137 [LibraryClasses.common.SMM_CORE]
138 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
139 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
140 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
141 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
142 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
143
144 [LibraryClasses.common.DXE_SMM_DRIVER]
145 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
146 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
147 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
148 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
149 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
150 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
151
152 [LibraryClasses.common.UEFI_DRIVER]
153 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
154 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
155 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
156 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
157
158 [LibraryClasses.common.UEFI_APPLICATION]
159 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
160 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
161 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
162 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
163
164 [PcdsFixedAtBuild]
165 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
166 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
167
168 [PcdsDynamicExDefault]
169 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
170
171 ###################################################################################################
172 #
173 # Components Section - list of the modules and components that will be processed by compilation
174 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
175 #
176 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
177 # into firmware volume images. This section is just a list of modules to compile from
178 # source into UEFI-compliant binaries.
179 # It is the FDF file that contains information on combining binary files into firmware
180 # volume images, whose concept is beyond UEFI and is described in PI specification.
181 # Binary modules do not need to be listed in this section, as they should be
182 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
183 # Logo (Logo.bmp), and etc.
184 # There may also be modules listed in this section that are not required in the FDF file,
185 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
186 # generated for it, but the binary will not be put into any firmware volume.
187 #
188 ###################################################################################################
189
190 [Components]
191 SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
192 SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
193 SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
194
195 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {
196 <LibraryClasses>
197 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
198 }
199 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
200 <LibraryClasses>
201 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
202 }
203 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
204 <LibraryClasses>
205 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
206 }
207
208 [BuildOptions]
209 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES