]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:14:22 +0000 (14:14 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:11 +0000 (11:00 +0800)
commit867766163161a6de57aa7b9f862548a865ec1156
tree24677dccc508268a43bf7f69c76d74032dfd7384
parentb32f094cd34d54eda6b8a4cf94f1a4f2e0c334d8
ShellPkg 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: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
ShellPkg/ShellPkg.dsc