]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/MdeModulePkg.dsc
MdeModulePkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:08:54 +0000 (14:08 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:07 +0000 (11:00 +0800)
commit42beb6e422696c1e548576f0610550e53bff18c4
treebaaf1403bb0df9e8026919d46cd35fcbb37764f4
parent4accc1f0f7171df6789674a9c4ee0f561ec6e754
MdeModulePkg 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: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@Intel.com>
MdeModulePkg/MdeModulePkg.dsc