X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=PerformancePkg%2FPerformancePkg.dsc;h=4278cbd092712e6015e65ffc6f95d7b87949fd3c;hb=f17e28c7911f6d2f985e7bb77e1c68cfd79bf056;hp=ea3838794869f0756c1317ce9f4e0104691c27c1;hpb=d50f6f8be8e2a738ac1422364963a6936e02d13d;p=mirror_edk2.git
diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc
index ea38387948..4278cbd092 100644
--- a/PerformancePkg/PerformancePkg.dsc
+++ b/PerformancePkg/PerformancePkg.dsc
@@ -1,7 +1,7 @@
-#/** @file
+## @file
# Build description file to generate Shell DP application.
#
-# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -10,16 +10,16 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-# **/
+##
[Defines]
DSC_SPECIFICATION = 0x00010005
PLATFORM_NAME = PerformancePkg
PLATFORM_GUID = 9ffd7bf2-231e-4525-9a42-480545dafd17
- PLATFORM_VERSION = 0.1
+ PLATFORM_VERSION = 0.2
OUTPUT_DIRECTORY = Build/PerformancePkg
SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
- BUILD_TARGETS = DEBUG|RELEASE
+ BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
[LibraryClasses]
@@ -40,18 +40,21 @@
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
- DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
+ DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
+ DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
+ FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
+ SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
- FileHandleLib|ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.inf
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
+ DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
[LibraryClasses.IA32, LibraryClasses.X64]
# This library instance mapping needs adjusting based on platform.
@@ -61,15 +64,22 @@
# that is different than the one below.
#
# TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
- TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
+ TimerLib|PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf
[LibraryClasses.IPF]
PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
+[LibraryClasses.EBC]
+ TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
+
[Components.IA32, Components.X64]
- PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
- PerformancePkg/Library/PeiTscTimerLib/PeiTscTimerLib.inf
+ PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf
+ PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf
+ PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf
[Components]
PerformancePkg/Dp_App/Dp.inf
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES