]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFsp2WrapperPkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:06:31 +0000 (14:06 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:05 +0000 (11:00 +0800)
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: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc

index 829203013f48352b80403748d1bbfad532f5e72a..6496dadb5b694efebca90bd7d986681a21442c7f 100644 (file)
@@ -92,3 +92,6 @@
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046\r
   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046\r
   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
+\r
+[BuildOptions]\r
+  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r