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