]> git.proxmox.com Git - mirror_edk2.git/commit - IntelFrameworkPkg/IntelFrameworkPkg.dsc
IntelFrameworkPkg DSC: Add build option to disable deprecated APIs
authorHao Wu <hao.a.wu@intel.com>
Mon, 1 Aug 2016 06:03:03 +0000 (14:03 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 8 Aug 2016 03:00:04 +0000 (11:00 +0800)
commit1da1e8ab22e91569ccff3350243bfeeb1bfe7020
tree799d982e05ae2affffa419c7b69332235a972281
parenta61f87eb09e0188395f42781f8022aaf21476c75
IntelFrameworkPkg 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: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
IntelFrameworkPkg/IntelFrameworkPkg.dsc