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