diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:03:58 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-10-31 09:13:10 +0800 |
commit | ca442df4fc4cbe332f98e45392119b6e40e335eb (patch) | |
tree | 4074f578b500dc5574a4854949f2ae853c4db88d | |
parent | 94a0c43f4e4afd54303dcd04f08581f2ec95fea1 (diff) | |
download | edk2-ca442df4fc4cbe332f98e45392119b6e40e335eb.zip edk2-ca442df4fc4cbe332f98e45392119b6e40e335eb.tar.gz edk2-ca442df4fc4cbe332f98e45392119b6e40e335eb.tar.bz2 |
IntelFsp2Pkg 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>
(cherry picked from commit bc8a17305d7cfdc68ab38e3e0b7bf6c14aeffe8c)
-rw-r--r-- | IntelFsp2Pkg/IntelFsp2Pkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFsp2Pkg/IntelFsp2Pkg.dsc b/IntelFsp2Pkg/IntelFsp2Pkg.dsc index 61eb6f1..1469d35 100644 --- a/IntelFsp2Pkg/IntelFsp2Pkg.dsc +++ b/IntelFsp2Pkg/IntelFsp2Pkg.dsc @@ -77,3 +77,6 @@ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|