SignedCapsulePkg.dsc 12 KB

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