Add security package to repository.
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
CommitLineData
0c18794e 1## @file\r
2# Security Module Package for All Architectures.\r
3#\r
4# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13##\r
14\r
15[Defines]\r
16 PLATFORM_NAME = SecurityPkg\r
17 PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F\r
18 PLATFORM_VERSION = 0.91\r
19 DSC_SPECIFICATION = 0x00010005\r
20 OUTPUT_DIRECTORY = Build/SecurityPkg\r
21 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC\r
22 BUILD_TARGETS = DEBUG|RELEASE\r
23 SKUID_IDENTIFIER = DEFAULT\r
24\r
25[LibraryClasses]\r
26 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
27 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf \r
28 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
29 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
30 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
31 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
32 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
33 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
34 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
35\r
36 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
37 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
39 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
40 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
41 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
42 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
43 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
44 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
46 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
47 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
48 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
49 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
51 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
52 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf \r
53\r
54[LibraryClasses.common.PEIM]\r
55 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
56 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
57 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
58 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
59 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
60\r
61[LibraryClasses.common.DXE_DRIVER]\r
62 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
63 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
64\r
65[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r
66 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
67 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
68\r
69[LibraryClasses.IPF.DXE_SAL_DRIVER]\r
70 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf\r
71\r
72[LibraryClasses.common.DXE_SMM_DRIVER]\r
73 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
74 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
75 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
76 \r
77[Components]\r
78 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf\r
79 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
80 SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf\r
81 SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf\r
82 SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf\r
83 SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf\r
84 SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf\r
85\r
86 #\r
87 # Application\r
88 #\r
89 SecurityPkg/Application/VariableInfo/VariableInfo.inf\r
90\r
91 #\r
92 # TPM\r
93 #\r
94 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
95 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
96 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
97 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r
98 SecurityPkg/Tcg/PhysicalPresenceDxe/PhysicalPresenceDxe.inf\r
99 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
100 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r
101 <LibraryClasses>\r
102 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
103 }\r
104 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
105\r
106[Components.IA32, Components.X64]\r
107 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {\r
108 <LibraryClasses>\r
109 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
110 }\r
111\r
112 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf\r
113 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
114\r
115[Components.IPF]\r
116 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf \r
117\r
118[Components.EBC]\r
119# Build only\r
120 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf \r
121\r
122[BuildOptions]\r
123 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
124 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
125\r