| 1 | ## @file\r |
| 2 | # Security Module Package for All Architectures.\r |
| 3 | #\r |
| 4 | # Copyright (c) 2009 - 2012, 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.92\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 | 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 |
| 51 | PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r |
| 52 | TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r |
| 53 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r |
| 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 |
| 61 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r |
| 62 | \r |
| 63 | [LibraryClasses.common.DXE_DRIVER]\r |
| 64 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
| 65 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
| 66 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r |
| 67 | \r |
| 68 | [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r |
| 69 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
| 70 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r |
| 71 | \r |
| 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 |
| 78 | [LibraryClasses.IPF.DXE_SAL_DRIVER]\r |
| 79 | ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf\r |
| 80 | BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf\r |
| 81 | \r |
| 82 | [LibraryClasses.common.DXE_SMM_DRIVER]\r |
| 83 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r |
| 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 |
| 92 | SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r |
| 93 | SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf\r |
| 94 | SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf\r |
| 95 | SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf\r |
| 96 | SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf\r |
| 97 | \r |
| 98 | #\r |
| 99 | # Application\r |
| 100 | #\r |
| 101 | SecurityPkg/Application/VariableInfo/VariableInfo.inf\r |
| 102 | \r |
| 103 | #\r |
| 104 | # TPM\r |
| 105 | #\r |
| 106 | SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r |
| 107 | SecurityPkg/Tcg/TcgPei/TcgPei.inf\r |
| 108 | SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r |
| 109 | SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r |
| 110 | SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r |
| 111 | SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r |
| 112 | <LibraryClasses>\r |
| 113 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r |
| 114 | }\r |
| 115 | SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r |
| 116 | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r |
| 117 | \r |
| 118 | [Components.IA32, Components.X64]\r |
| 119 | SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf\r |
| 120 | SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf\r |
| 121 | SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf\r |
| 122 | \r |
| 123 | [Components.IPF]\r |
| 124 | SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf \r |
| 125 | \r |
| 126 | [Components.EBC]\r |
| 127 | # Build only\r |
| 128 | SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf \r |
| 129 | \r |
| 130 | [BuildOptions]\r |
| 131 | MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r |
| 132 | INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r |
| 133 | \r |