X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=PerformancePkg%2FPerformancePkg.dsc;h=95cc905cbb665c3771f7c430197d6985b1401ecc;hb=2344d341e102b8a669914064201e48bcfba0b8f6;hp=8c0890e85e8c29113a49637e775a78a28c52747e;hpb=863986b3c8e67736d361b68e293d01e6f92f825c;p=mirror_edk2.git diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc index 8c0890e85e..95cc905cbb 100644 --- a/PerformancePkg/PerformancePkg.dsc +++ b/PerformancePkg/PerformancePkg.dsc @@ -1,7 +1,7 @@ ## @file # Build description file to generate Shell DP application. # -# Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2017, 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 @@ -19,7 +19,7 @@ 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] @@ -45,34 +45,17 @@ PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf - PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf + PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf + FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf + SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf - SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf - FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.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. - # The TimerLib instance must match the TimerLib the platform was built with. - # If the platform was built with more than one TimerLib type, then this utility - # will produce invalid results for any measurements done with a TimerLib instance - # that is different than the one below. - # - # TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.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/TscTimerLib/DxeTscTimerLib.inf PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf @@ -80,3 +63,6 @@ [Components] PerformancePkg/Dp_App/Dp.inf + +[BuildOptions] + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES