blob: 67577e14391058ce8c510959856d55dc993f1aca [file] [log] [blame]
hhtian97f98502010-11-01 06:30:58 +00001## @file
2# Cryptographic Library Package for UEFI Security Implementation.
3#
hhtian944b3bb2011-04-20 00:18:57 +00004# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
hhtian97f98502010-11-01 06:30:58 +00005# 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#
17# Defines Section - statements that will be processed to create a Makefile.
18#
19################################################################################
20[Defines]
21 PLATFORM_NAME = CryptoPkg
22 PLATFORM_GUID = E1063286-6C8C-4c25-AEF0-67A9A5B6E6B6
tye19fa957e2011-12-13 09:46:54 +000023 PLATFORM_VERSION = 0.92
hhtian97f98502010-11-01 06:30:58 +000024 DSC_SPECIFICATION = 0x00010005
25 OUTPUT_DIRECTORY = Build/CryptoPkg
tye1b7d320f2011-08-16 06:46:52 +000026 SUPPORTED_ARCHITECTURES = IA32|X64|IPF|ARM
hhtian97f98502010-11-01 06:30:58 +000027 BUILD_TARGETS = DEBUG|RELEASE
28 SKUID_IDENTIFIER = DEFAULT
29
30################################################################################
31#
32# Library Class section - list of all Library Classes needed by this Platform.
33#
34################################################################################
35[LibraryClasses]
36 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
37 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
38 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
39 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
40 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
hhtian944b3bb2011-04-20 00:18:57 +000041 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
hhtian97f98502010-11-01 06:30:58 +000042 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
43 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
44 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
45 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
46 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
47 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
48 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
49 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
50
51 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
52 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
53
qlong8e01b442011-04-19 16:25:31 +000054[LibraryClasses.ARM]
55 #
56 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
57 # This library provides the instrinsic functions generate by a given compiler.
58 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
59 #
60 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
61
hhtian97f98502010-11-01 06:30:58 +000062[LibraryClasses.common.PEIM]
63 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
64
65[LibraryClasses.common.DXE_DRIVER]
66 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
67
68[LibraryClasses.common.DXE_RUNTIME_DRIVER]
69 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
70
tye1b7d320f2011-08-16 06:46:52 +000071[LibraryClasses.common.DXE_SMM_DRIVER]
72 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
73
hhtian97f98502010-11-01 06:30:58 +000074[LibraryClasses.common.DXE_SAL_DRIVER]
75 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
76
77[LibraryClasses.common.UEFI_DRIVER]
78 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
79
80[LibraryClasses.common.UEFI_APPLICATION]
81 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
82
83################################################################################
84#
85# Pcd Section - list of all EDK II PCD Entries defined by this Platform
86#
87################################################################################
88[PcdsFeatureFlag]
hhtian97f98502010-11-01 06:30:58 +000089 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
90 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
91
92[PcdsFixedAtBuild]
hhtian97f98502010-11-01 06:30:58 +000093 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
94 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
95 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
hhtian97f98502010-11-01 06:30:58 +000096
97###################################################################################################
98#
99# Components Section - list of the modules and components that will be processed by compilation
100# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
101#
102# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
103# into firmware volume images. This section is just a list of modules to compile from
104# source into UEFI-compliant binaries.
105# It is the FDF file that contains information on combining binary files into firmware
106# volume images, whose concept is beyond UEFI and is described in PI specification.
107# Binary modules do not need to be listed in this section, as they should be
108# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
109# Logo (Logo.bmp), and etc.
110# There may also be modules listed in this section that are not required in the FDF file,
111# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
112# generated for it, but the binary will not be put into any firmware volume.
113#
114###################################################################################################
115[Components]
116 CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
117 CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
118 CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
119
120 CryptoPkg/Application/Cryptest/Cryptest.inf
121
122 CryptoPkg/CryptRuntimeDxe/CryptRuntimeDxe.inf
123
qlonga8c44642010-11-02 06:06:38 +0000124[Components.IA32, Components.X64]
125 CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
126
hhtian97f98502010-11-01 06:30:58 +0000127[Components.IPF]
128 CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf