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 e92578c..dfe6c07 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