]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFrameworkPkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:03:03 +0000 (14:03 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:04 +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: Jeff Fan <jeff.fan@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>
IntelFrameworkPkg/IntelFrameworkPkg.dsc

index afda3e7aff5632b13e5200c48a1f8135c3f06423..2985d38bb2793f0599c4993106e0fda395663ec2 100644 (file)
@@ -70,3 +70,6 @@
   IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLibSmbusPpi.inf\r
   IntelFrameworkPkg/Library/PeiHobLibFramework/PeiHobLibFramework.inf\r
 \r
+[BuildOptions]\r
+  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
+\r