From: "Sami Mujawar" <sami.mujawar@arm.com>
To: <devel@edk2.groups.io>
Cc: Sami Mujawar <sami.mujawar@arm.com>, <ard.biesheuvel@linaro.org>,
<leif.lindholm@linaro.org>, <michael.d.kinney@intel.com>,
<Matteo.Carlini@arm.com>, <nd@arm.com>
Subject: [PATCH edk2-platforms 2/2] Platform/ARM: Disable deprecated APIs
Date: Thu, 27 Jun 2019 14:12:13 +0100 [thread overview]
Message-ID: <20190627131213.10972-3-sami.mujawar@arm.com> (raw)
In-Reply-To: <20190627131213.10972-1-sami.mujawar@arm.com>
Add DISABLE_NEW_DEPRECATED_INTERFACES macro to the Arm platform
build flags to disable the use of deprecated APIs.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
---
Notes:
v1:
- Disable the use of deprecated APIs for Arm Platforms. [SAMI]
Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
index 13f5c6c1e7493a72354744ca37721b4a682f6b50..0d543d2a61b15c9c7dcd9212b81a4594c3bd38f0 100644
--- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2011-2018, ARM Limited. All rights reserved.
+# Copyright (c) 2011-2019, ARM Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -17,6 +17,9 @@ [Defines]
DEFINE NETWORK_TLS_ENABLE = FALSE
DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
+[BuildOptions.common]
+ *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
+
[BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
next prev parent reply other threads:[~2019-06-27 13:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-27 13:12 [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms Sami Mujawar
2019-06-27 13:12 ` [PATCH edk2-platforms 1/2] Platform/ARM: Juno: Fix usage of deprecated macros Sami Mujawar
2019-06-27 13:31 ` [edk2-devel] " Alexei Fedorov
2019-06-27 13:12 ` Sami Mujawar [this message]
2019-06-27 13:31 ` [edk2-devel] [PATCH edk2-platforms 2/2] Platform/ARM: Disable deprecated APIs Alexei Fedorov
2019-06-27 13:32 ` [edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms Alexei Fedorov
2019-07-03 15:42 ` Leif Lindholm
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=20190627131213.10972-3-sami.mujawar@arm.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