diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:07:36 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:06 +0800 |
commit | d569f19072e84d7957ae9225de8fbbb09f7de3bb (patch) | |
tree | beff3520e9eb224fd654de9cce70822d77dd29a2 /IntelFspPkg | |
parent | 56c1b0cb2fc2ac3d36747c28321a414d715ab9c3 (diff) | |
download | edk2-platforms-d569f19072e84d7957ae9225de8fbbb09f7de3bb.tar.xz |
IntelFspPkg 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: 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>
Diffstat (limited to 'IntelFspPkg')
-rw-r--r-- | IntelFspPkg/IntelFspPkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFspPkg/IntelFspPkg.dsc b/IntelFspPkg/IntelFspPkg.dsc index f3b5689ea1..01b6e46e41 100644 --- a/IntelFspPkg/IntelFspPkg.dsc +++ b/IntelFspPkg/IntelFspPkg.dsc @@ -72,3 +72,6 @@ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|