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-08-08 11:00:05 +0800 |
commit | bc8a17305d7cfdc68ab38e3e0b7bf6c14aeffe8c (patch) | |
tree | 9e376852c71269454c0e69806122cbb848248514 /IntelFsp2Pkg | |
parent | 1da1e8ab22e91569ccff3350243bfeeb1bfe7020 (diff) | |
download | edk2-bc8a17305d7cfdc68ab38e3e0b7bf6c14aeffe8c.tar.gz edk2-bc8a17305d7cfdc68ab38e3e0b7bf6c14aeffe8c.tar.bz2 edk2-bc8a17305d7cfdc68ab38e3e0b7bf6c14aeffe8c.zip |
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>
Diffstat (limited to 'IntelFsp2Pkg')
-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 61eb6f1633..1469d35ede 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
|