diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-01 14:14:22 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-08 11:00:11 +0800 |
commit | 867766163161a6de57aa7b9f862548a865ec1156 (patch) | |
tree | 24677dccc508268a43bf7f69c76d74032dfd7384 /ShellPkg | |
parent | b32f094cd34d54eda6b8a4cf94f1a4f2e0c334d8 (diff) | |
download | edk2-867766163161a6de57aa7b9f862548a865ec1156.tar.gz edk2-867766163161a6de57aa7b9f862548a865ec1156.tar.bz2 edk2-867766163161a6de57aa7b9f862548a865ec1156.zip |
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>
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/ShellPkg.dsc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index 25c4fadc61..809bd4220a 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -122,3 +122,5 @@ !endif #$(NO_SHELL_PROFILES)
}
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|