Reviewed-by: Sai Chaganty <[email protected]>

-----Original Message-----
From: Zhang, Shenglei 
Sent: Thursday, August 22, 2019 12:08 AM
To: [email protected]
Cc: Kubacki, Michael A <[email protected]>; Chaganty, Rangasai V 
<[email protected]>; Gao, Liming <[email protected]>; Zhang, 
Shenglei <[email protected]>
Subject: [edk2-platforms PATCH 1/4] Platform/AdvancedFeaturePkg.dsc: Add build 
option

Add the build option "/D DISABLE_NEW_DEPRECATED_INTERFACES" in DSC file to make 
sure that the deprecated APIs will not be used in our code.
https://bugzilla.tianocore.org/show_bug.cgi?id=2111

Cc: Michael Kubacki <[email protected]>
Cc: Sai Chaganty <[email protected]>
Cc: Liming Gao <[email protected]>
Signed-off-by: Shenglei Zhang <[email protected]>
---
 Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc 
b/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc
index ea1a0072..57f28b8c 100644
--- a/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc
+++ b/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc
@@ -148,3 +148,6 @@
   AdvancedFeaturePkg/Ipmi/IpmiFru/IpmiFru.inf
   AdvancedFeaturePkg/Ipmi/BmcElog/BmcElog.inf
   AdvancedFeaturePkg/Ipmi/BmcAcpi/BmcAcpi.inf
+
+[BuildOptions]
+  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
\ No newline at end of file
--
2.18.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#46322): https://edk2.groups.io/g/devel/message/46322
Mute This Topic: https://groups.io/mt/32987574/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to