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