IntelFsp2Pkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:03:58 +0000 (14:03 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:05 +0000 (11:00 +0800)
commitbc8a17305d7cfdc68ab38e3e0b7bf6c14aeffe8c
tree9e376852c71269454c0e69806122cbb848248514
parent1da1e8ab22e91569ccff3350243bfeeb1bfe7020
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>
IntelFsp2Pkg/IntelFsp2Pkg.dsc