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