From: "Zhang, Shenglei" <shenglei.zhang@intel.com>
To: devel@edk2.groups.io
Cc: Dandan Bi <dandan.bi@intel.com>,
Liming Gao <liming.gao@intel.com>,
Shenglei Zhang <shenglei.zhang@intel.com>
Subject: [edk2-platforms PATCH 4/4] Platform/UserInterfaceFeaturePkg.dsc: Add build option
Date: Thu, 22 Aug 2019 15:08:08 +0800 [thread overview]
Message-ID: <20190822070808.6600-5-shenglei.zhang@intel.com> (raw)
In-Reply-To: <20190822070808.6600-1-shenglei.zhang@intel.com>
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: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
---
.../Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Platform/Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc b/Platform/Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc
index 2c24e43f..95c26766 100644
--- a/Platform/Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc
+++ b/Platform/Intel/UserInterfaceFeaturePkg/UserInterfaceFeaturePkg.dsc
@@ -76,3 +76,5 @@
UserInterfaceFeaturePkg/UserAuthentication/UserAuthentication2Dxe.inf
UserInterfaceFeaturePkg/UserAuthentication/UserAuthenticationSmm.inf
+[BuildOptions]
+ *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
\ No newline at end of file
--
2.18.0.windows.1
next prev parent reply other threads:[~2019-08-22 7:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-22 7:08 [edk2-platforms PATCH 0/4] Add build option in DSC files Zhang, Shenglei
2019-08-22 7:08 ` [edk2-platforms PATCH 1/4] Platform/AdvancedFeaturePkg.dsc: Add build option Zhang, Shenglei
2019-08-23 17:21 ` [edk2-devel] " Kubacki, Michael A
2019-08-23 17:57 ` Chaganty, Rangasai V
2019-08-22 7:08 ` [edk2-platforms PATCH 2/4] Platform/DebugFeaturePkg.dsc: " Zhang, Shenglei
2019-08-23 17:22 ` [edk2-devel] " Kubacki, Michael A
2019-08-22 7:08 ` [edk2-platforms PATCH 3/4] Platform/MinPlatformPkg.dsc: " Zhang, Shenglei
2019-08-22 18:03 ` [edk2-devel] " Chiu, Chasel
2019-08-23 17:24 ` Kubacki, Michael A
2019-08-23 23:39 ` Nate DeSimone
2019-08-22 7:08 ` Zhang, Shenglei [this message]
2019-08-23 17:24 ` [edk2-devel] [edk2-platforms PATCH 4/4] Platform/UserInterfaceFeaturePkg.dsc: " Kubacki, Michael A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190822070808.6600-5-shenglei.zhang@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox