Enable/Disable Secured Boot by 'Secure Boot Configuration' Page which is under Setup...
[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 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
68 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
69 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
70
71 [LibraryClasses.IPF.DXE_SAL_DRIVER]
72 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
73
74 [LibraryClasses.common.DXE_SMM_DRIVER]
75 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
76 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
77 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
78 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
79
80 [Components]
81 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
82 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
83 SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
84 SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
85 SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
86 SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
87 SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
88
89 #
90 # Application
91 #
92 SecurityPkg/Application/VariableInfo/VariableInfo.inf
93
94 #
95 # TPM
96 #
97 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
98 SecurityPkg/Tcg/TcgPei/TcgPei.inf
99 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
100 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
101 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
102 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
103 <LibraryClasses>
104 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
105 }
106 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
107 SecurityPkg\VariableAuthenticated\SecureBootConfigDxe\SecureBootConfigDxe.inf
108
109 [Components.IA32, Components.X64]
110 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {
111 <LibraryClasses>
112 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
113 }
114
115 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
116 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf
117
118 [Components.IPF]
119 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
120
121 [Components.EBC]
122 # Build only
123 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
124
125 [BuildOptions]
126 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
127 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
128