]> git.proxmox.com Git - mirror_edk2.git/blob - SignedCapsulePkg/SignedCapsulePkg.dsc
SignedCapsulePkg: Update Package DSC to remove unused network libs
[mirror_edk2.git] / SignedCapsulePkg / SignedCapsulePkg.dsc
1 ## @file
2 # This package provides EDKII capsule related support.
3 #
4 # Copyright (c) 2016 - 2019, 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 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
65 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
66 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
67 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
68 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
69 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
70 #
71 # Misc
72 #
73 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
74 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
75 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
76 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
77 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
78 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
79 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
80 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
81 SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
82 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
83 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
84 PlatformBootManagerLib|MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManagerLibNull.inf
85 PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf
86 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
87 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
88 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
89 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
90 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
91 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
92
93 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
94 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
95 PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
96
97 [LibraryClasses.ARM]
98 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
99
100 #
101 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
102 # This library provides the instrinsic functions generate by a given compiler.
103 # And NULL mean link this library into all ARM images.
104 #
105 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
106
107 # Add support for GCC stack protector
108 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
109
110 [LibraryClasses.common.PEI_CORE]
111 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
112 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
113
114 [LibraryClasses.common.PEIM]
115 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
116 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
117 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
118 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
119
120 [LibraryClasses.common.DXE_CORE]
121 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
122 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
123
124 [LibraryClasses.common.DXE_DRIVER]
125 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
126 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
127 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
128
129 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
130
131 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
132 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
133 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
134 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
135 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
136
137 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
138
139 [LibraryClasses.common.SMM_CORE]
140 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
141 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
142 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
143 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
144 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
145
146 [LibraryClasses.common.DXE_SMM_DRIVER]
147 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
148 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
149 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
150 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
151 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
152 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
153
154 [LibraryClasses.common.UEFI_DRIVER]
155 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
156 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
157 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
158 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
159
160 [LibraryClasses.common.UEFI_APPLICATION]
161 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
162 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
163 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
164 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
165
166 [PcdsFixedAtBuild]
167 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
168 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
169
170 [PcdsDynamicExDefault]
171 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
172
173 ###################################################################################################
174 #
175 # Components Section - list of the modules and components that will be processed by compilation
176 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
177 #
178 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
179 # into firmware volume images. This section is just a list of modules to compile from
180 # source into UEFI-compliant binaries.
181 # It is the FDF file that contains information on combining binary files into firmware
182 # volume images, whose concept is beyond UEFI and is described in PI specification.
183 # Binary modules do not need to be listed in this section, as they should be
184 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
185 # Logo (Logo.bmp), and etc.
186 # There may also be modules listed in this section that are not required in the FDF file,
187 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
188 # generated for it, but the binary will not be put into any firmware volume.
189 #
190 ###################################################################################################
191
192 [Components]
193 SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
194 SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
195 SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
196
197 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {
198 <LibraryClasses>
199 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
200 }
201 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
202 <LibraryClasses>
203 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
204 }
205 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
206 <LibraryClasses>
207 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
208 }
209
210 [BuildOptions]
211 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES