]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/PerformancePkg.dsc
SecurityPkg: Add TPM PTP support in TPM2 device lib.
[mirror_edk2.git] / PerformancePkg / PerformancePkg.dsc
index 026803ab14f3e692efba7215c6c1cab7304313ab..ac53c4eff3011b5c76659b48a05a6859c75308a8 100644 (file)
@@ -1,7 +1,7 @@
-#/** @file\r
+## @file\r
 # Build description file to generate Shell DP application.\r
 #\r
-# Copyright (c) 2009-2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
-# **/\r
+##\r
 \r
 [Defines]\r
   DSC_SPECIFICATION              = 0x00010005\r
   PLATFORM_NAME                  = PerformancePkg\r
   PLATFORM_GUID                  = 9ffd7bf2-231e-4525-9a42-480545dafd17\r
-  PLATFORM_VERSION               = 0.1\r
+  PLATFORM_VERSION               = 0.2\r
   OUTPUT_DIRECTORY               = Build/PerformancePkg\r
   SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC\r
-  BUILD_TARGETS                  = DEBUG|RELEASE\r
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
 [LibraryClasses]\r
   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
+  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
-  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
+  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf  \r
+  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
   PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
+  FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
+  SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
 \r
   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
-  FileHandleLib|ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.inf\r
 \r
+  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
+  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
+  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
+\r
+[LibraryClasses.IA32, LibraryClasses.X64]\r
   # This library instance mapping needs adjusting based on platform.\r
   # The TimerLib instance must match the TimerLib the platform was built with.\r
   # If the platform was built with more than one TimerLib type, then this utility\r
   # that is different than the one below.\r
   #\r
   # TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
-  TimerLib|PerformancePkg/Library/TscTimerLib/TscTimerLib.inf\r
-  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
-  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
+  TimerLib|PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf\r
 \r
 [LibraryClasses.IPF]\r
   PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf\r
+  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
+\r
+[LibraryClasses.EBC]\r
+  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
+\r
+[Components.IA32, Components.X64]\r
+  PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf\r
+  PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf\r
+  PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf\r
 \r
 [Components]\r
-  PerformancePkg/Library/TscTimerLib/TscTimerLib.inf\r
   PerformancePkg/Dp_App/Dp.inf\r