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