CryptoPkg.dsc 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. ## @file
  2. # Cryptographic Library Package for UEFI Security Implementation.
  3. #
  4. # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
  5. # This program and the accompanying materials
  6. # are licensed and made available under the terms and conditions of the BSD License
  7. # which accompanies this distribution. The full text of the license may be found at
  8. # http://opensource.org/licenses/bsd-license.php
  9. #
  10. # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
  12. #
  13. ##
  14. ################################################################################
  15. #
  16. # Defines Section - statements that will be processed to create a Makefile.
  17. #
  18. ################################################################################
  19. [Defines]
  20. PLATFORM_NAME = CryptoPkg
  21. PLATFORM_GUID = E1063286-6C8C-4c25-AEF0-67A9A5B6E6B6
  22. PLATFORM_VERSION = 0.98
  23. DSC_SPECIFICATION = 0x00010005
  24. OUTPUT_DIRECTORY = Build/CryptoPkg
  25. SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
  26. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  27. SKUID_IDENTIFIER = DEFAULT
  28. ################################################################################
  29. #
  30. # Library Class section - list of all Library Classes needed by this Platform.
  31. #
  32. ################################################################################
  33. [LibraryClasses]
  34. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  35. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  36. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  37. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  38. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  39. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  40. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  41. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  42. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  43. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  44. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  45. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  46. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  47. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  48. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  49. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  50. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  51. #
  52. # It is not possible to prevent the ARM compiler for generic intrinsic functions.
  53. # This library provides the instrinsic functions generate by a given compiler.
  54. # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library
  55. # into all ARM and AARCH64 images.
  56. #
  57. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  58. # Add support for stack protector
  59. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  60. [LibraryClasses.ARM]
  61. ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
  62. [LibraryClasses.common.PEIM]
  63. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  64. [LibraryClasses.common.DXE_DRIVER]
  65. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  66. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  67. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  68. [LibraryClasses.common.DXE_SMM_DRIVER]
  69. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  70. [LibraryClasses.common.UEFI_DRIVER]
  71. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  72. [LibraryClasses.common.UEFI_APPLICATION]
  73. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  74. ################################################################################
  75. #
  76. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  77. #
  78. ################################################################################
  79. [PcdsFeatureFlag]
  80. gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
  81. gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
  82. [PcdsFixedAtBuild]
  83. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
  84. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
  85. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
  86. ###################################################################################################
  87. #
  88. # Components Section - list of the modules and components that will be processed by compilation
  89. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  90. #
  91. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  92. # into firmware volume images. This section is just a list of modules to compile from
  93. # source into UEFI-compliant binaries.
  94. # It is the FDF file that contains information on combining binary files into firmware
  95. # volume images, whose concept is beyond UEFI and is described in PI specification.
  96. # Binary modules do not need to be listed in this section, as they should be
  97. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  98. # Logo (Logo.bmp), and etc.
  99. # There may also be modules listed in this section that are not required in the FDF file,
  100. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  101. # generated for it, but the binary will not be put into any firmware volume.
  102. #
  103. ###################################################################################################
  104. [Components]
  105. CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  106. CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  107. CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  108. CryptoPkg/Library/TlsLib/TlsLib.inf
  109. CryptoPkg/Library/OpensslLib/OpensslLib.inf
  110. [Components.IA32, Components.X64]
  111. CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  112. [BuildOptions]
  113. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES