]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/SecurityPkg.dsc
804da7077c0941931142532742c76698d35c25ce
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
1 ## @file
2 # Security Module Package for All Architectures.
3 #
4 # Copyright (c) 2009 - 2011, 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 [Defines]
16 PLATFORM_NAME = SecurityPkg
17 PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F
18 PLATFORM_VERSION = 0.91
19 DSC_SPECIFICATION = 0x00010005
20 OUTPUT_DIRECTORY = Build/SecurityPkg
21 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
22 BUILD_TARGETS = DEBUG|RELEASE
23 SKUID_IDENTIFIER = DEFAULT
24
25 [LibraryClasses]
26 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
27 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
28 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
29 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
30 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
31 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
32 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
33 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
34 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
35
36 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
37 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
39 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
40 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
41 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
42 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
43 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
44 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
46 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
47 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
48 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
49 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
51 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
52 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
53 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
54
55 [LibraryClasses.common.PEIM]
56 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
57 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
58 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
59 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
60 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
61
62 [LibraryClasses.common.DXE_DRIVER]
63 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
64 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
65
66 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
67 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
68 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
69
70 [LibraryClasses.IPF.DXE_SAL_DRIVER]
71 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
72
73 [LibraryClasses.common.DXE_SMM_DRIVER]
74 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
75 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
76 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
77
78 [Components]
79 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
80 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
81 SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
82 SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
83 SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
84 SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
85 SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
86
87 #
88 # Application
89 #
90 SecurityPkg/Application/VariableInfo/VariableInfo.inf
91
92 #
93 # TPM
94 #
95 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
96 SecurityPkg/Tcg/TcgPei/TcgPei.inf
97 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
98 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
99 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
100 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
101 <LibraryClasses>
102 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
103 }
104 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
105
106 [Components.IA32, Components.X64]
107 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
108 <LibraryClasses>
109 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
110 }
111
112 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
113 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf
114
115 [Components.IPF]
116 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
117
118 [Components.EBC]
119 # Build only
120 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
121
122 [BuildOptions]
123 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
124 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
125