CryptoPkg.dsc 5.8 KB

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