]> git.proxmox.com Git - mirror_edk2.git/commit
PerformancePkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:12:14 +0000 (14:12 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:09 +0000 (11:00 +0800)
commitb687fbf2ba755b2edc67f9c2971ffb0782a2ad40
tree177d765bc45dce72596c3ae7abfd44e550c9fcae
parentf8dfdb8e84656f30d38efca401ed4d146bb119a3
PerformancePkg DSC: Add build option to disable deprecated APIs

Add the following definition in the [BuildOptions] section in package DSC
files to disable APIs that are deprecated:

[BuildOptions]
  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES

Cc: Daryl McDaniel <edk2-lists@mc2research.org>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
PerformancePkg/PerformancePkg.dsc