summaryrefslogtreecommitdiffstats
path: root/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-08-01 14:06:31 +0800
committerHao Wu <hao.a.wu@intel.com>2016-08-08 11:00:05 +0800
commit56c1b0cb2fc2ac3d36747c28321a414d715ab9c3 (patch)
tree9d9c90978583365e159c55d0b4449f83f5f252d7 /IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc
parentbc8a17305d7cfdc68ab38e3e0b7bf6c14aeffe8c (diff)
downloadedk2-56c1b0cb2fc2ac3d36747c28321a414d715ab9c3.tar.gz
edk2-56c1b0cb2fc2ac3d36747c28321a414d715ab9c3.tar.bz2
edk2-56c1b0cb2fc2ac3d36747c28321a414d715ab9c3.zip
IntelFsp2WrapperPkg 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 'IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc')
-rw-r--r--IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc
index 829203013f..6496dadb5b 100644
--- a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc
+++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc
@@ -92,3 +92,6 @@
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
+
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES