SignedCapsulePkg.dsc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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. [Defines]
  10. PLATFORM_NAME = SignedCapsulePkg
  11. PLATFORM_GUID = 164E16D7-B56A-416D-92FF-0A63983733F6
  12. PLATFORM_VERSION = 0.96
  13. DSC_SPECIFICATION = 0x00010005
  14. OUTPUT_DIRECTORY = Build/SignedCapsulePkg
  15. SUPPORTED_ARCHITECTURES = AARCH64|ARM|IA32|X64
  16. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  17. SKUID_IDENTIFIER = DEFAULT
  18. [LibraryClasses]
  19. #
  20. # Entry point
  21. #
  22. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  23. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  24. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  25. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  26. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  27. #
  28. # Basic
  29. #
  30. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  31. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  32. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  33. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  34. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  35. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  36. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  37. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  38. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  39. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  40. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  41. SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
  42. #
  43. # UEFI & PI
  44. #
  45. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  46. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  47. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  48. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  49. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  50. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  51. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  52. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  53. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  54. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  55. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  56. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  57. #
  58. # Generic Modules
  59. #
  60. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  61. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  62. NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
  63. IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
  64. UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
  65. TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
  66. DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
  67. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  68. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  69. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  70. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  71. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  72. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  73. #
  74. # Misc
  75. #
  76. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  77. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  78. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  79. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  80. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  81. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  82. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  83. ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
  84. SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
  85. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  86. CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
  87. PlatformBootManagerLib|MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManagerLibNull.inf
  88. PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf
  89. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  90. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  91. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  92. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  93. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  94. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  95. EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
  96. IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
  97. PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
  98. [LibraryClasses.ARM]
  99. ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
  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. # Add support for GCC stack protector
  107. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  108. [LibraryClasses.common.PEI_CORE]
  109. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  110. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  111. [LibraryClasses.common.PEIM]
  112. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  113. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  114. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  115. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  116. [LibraryClasses.common.DXE_CORE]
  117. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  118. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  119. [LibraryClasses.common.DXE_DRIVER]
  120. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  121. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  122. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  123. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
  124. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  125. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  126. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  127. DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
  128. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  129. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
  130. [LibraryClasses.common.SMM_CORE]
  131. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  132. MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
  133. SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
  134. SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
  135. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  136. [LibraryClasses.common.DXE_SMM_DRIVER]
  137. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  138. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  139. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  140. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  141. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  142. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  143. [LibraryClasses.common.UEFI_DRIVER]
  144. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  145. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  146. DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
  147. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  148. [LibraryClasses.common.UEFI_APPLICATION]
  149. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  150. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  151. DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
  152. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  153. [PcdsFixedAtBuild]
  154. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
  155. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
  156. [PcdsDynamicExDefault]
  157. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
  158. ###################################################################################################
  159. #
  160. # Components Section - list of the modules and components that will be processed by compilation
  161. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  162. #
  163. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  164. # into firmware volume images. This section is just a list of modules to compile from
  165. # source into UEFI-compliant binaries.
  166. # It is the FDF file that contains information on combining binary files into firmware
  167. # volume images, whose concept is beyond UEFI and is described in PI specification.
  168. # Binary modules do not need to be listed in this section, as they should be
  169. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  170. # Logo (Logo.bmp), and etc.
  171. # There may also be modules listed in this section that are not required in the FDF file,
  172. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  173. # generated for it, but the binary will not be put into any firmware volume.
  174. #
  175. ###################################################################################################
  176. [Components]
  177. SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
  178. SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
  179. SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
  180. SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {
  181. <LibraryClasses>
  182. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  183. }
  184. SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
  185. <LibraryClasses>
  186. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  187. }
  188. SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
  189. <LibraryClasses>
  190. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
  191. }
  192. [BuildOptions]
  193. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES