]> git.proxmox.com Git - mirror_edk2.git/commitdiff
DynamicTablesPkg: Disable deprecated APIs
authorSami Mujawar <sami.mujawar@arm.com>
Tue, 26 Mar 2019 14:59:12 +0000 (14:59 +0000)
committerSami Mujawar <sami.mujawar@arm.com>
Tue, 11 Jun 2019 09:06:42 +0000 (10:06 +0100)
Add the DISABLE_NEW_DEPRECATED_INTERFACES macro to
the DynamicTablesPkg package build flags to disable
deprecated APIs.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
DynamicTablesPkg/DynamicTablesPkg.dsc

index e92578c952755bd9be037241eb4530b9968fe89c..dfe6c07111059cdd3eed23becf5000c04270bd9c 100644 (file)
@@ -2,6 +2,7 @@
 #  Dsc file for Dynamic Tables Framework.\r
 #\r
 #  Copyright (c) 2019, Linaro Limited. All rights reserved.<BR>\r
+#  Copyright (c) 2019, ARM Limited. All rights reserved.<BR>\r
 #\r
 #  SPDX-License-Identifier: BSD-2-Clause-Patent
 #\r
@@ -35,3 +36,6 @@
 \r
 [Components.common]\r
   DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf\r
+\r
+[BuildOptions]\r
+  *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r