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