Update Code to pass EBC compiler.
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
CommitLineData
0c18794e 1## @file\r
2# Security Module Package for All Architectures.\r
3#\r
cbcccd2c 4# Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
0c18794e 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
4cc5bbe9 18 PLATFORM_VERSION = 0.92\r
0c18794e 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
0c18794e 47 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
48 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
49 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
50 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
607599bf 51 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
52 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
a332cfd3 53 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
0c18794e 54\r
55[LibraryClasses.common.PEIM]\r
56 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
57 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
58 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
59 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
60 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
3b947ef1 61 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
0c18794e 62\r
63[LibraryClasses.common.DXE_DRIVER]\r
64 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
65 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
3b947ef1 66 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
0c18794e 67\r
68[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r
9a000b46 69 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 70 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
71\r
3b947ef1 72[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
73 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
74\r
75[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
76 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
77\r
0c18794e 78[LibraryClasses.IPF.DXE_SAL_DRIVER]\r
79 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf\r
3b947ef1 80 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf\r
0c18794e 81\r
82[LibraryClasses.common.DXE_SMM_DRIVER]\r
9a000b46 83 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 84 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
85 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
86 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
87 \r
88[Components]\r
89 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf\r
90 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
91 SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf\r
d0043e49 92 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
0c18794e 93 SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf\r
94 SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf\r
0c18794e 95\r
96 #\r
97 # Application\r
98 #\r
99 SecurityPkg/Application/VariableInfo/VariableInfo.inf\r
100\r
101 #\r
102 # TPM\r
103 #\r
104 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
cbcccd2c
LG
105 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
106\r
0c18794e 107 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r
0c18794e 108 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
cbcccd2c
LG
109 \r
110[Components.IA32, Components.X64, Components.IPF]\r
111 SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf\r
112 SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf\r
113 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
114 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf\r
115\r
116 #\r
117 # TPM\r
118 #\r
119 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
120 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
0c18794e 121 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r
122 <LibraryClasses>\r
123 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
124 }\r
cbcccd2c 125\r
0c18794e 126[Components.IA32, Components.X64]\r
0c18794e 127 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf\r
128 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
cbcccd2c 129 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
0c18794e 130\r
131[Components.IPF]\r
132 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf \r
133\r
0c18794e 134[BuildOptions]\r
135 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
136 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
137\r