From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org, leif.lindholm@linaro.org
Cc: lersek@redhat.com, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH 3/3] BeagleBoardPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES
Date: Tue, 25 Oct 2016 17:37:20 +0100 [thread overview]
Message-ID: <1477413440-680-4-git-send-email-ard.biesheuvel@linaro.org> (raw)
In-Reply-To: <1477413440-680-1-git-send-email-ard.biesheuvel@linaro.org>
Define DISABLE_NEW_DEPRECATED_INTERFACES on the compiler command line by
default, to prevent deprecated interfaces from being used in core EDK2
code.
Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=164
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
BeagleBoardPkg/BeagleBoardPkg.dsc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc b/BeagleBoardPkg/BeagleBoardPkg.dsc
index 2951c689c753..1e2ecdc21ad9 100644
--- a/BeagleBoardPkg/BeagleBoardPkg.dsc
+++ b/BeagleBoardPkg/BeagleBoardPkg.dsc
@@ -220,11 +220,11 @@ [LibraryClasses.ARM]
[BuildOptions]
XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
-
GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
-
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
+ *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
+
################################################################################
#
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
--
2.7.4
next prev parent reply other threads:[~2016-10-25 16:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-25 16:37 [PATCH 0/3] BeagleBoardPkg: eliminate calls to deprecated functions Ard Biesheuvel
2016-10-25 16:37 ` [PATCH 1/3] BeagleBoardPkg: remove unused modules Ard Biesheuvel
2016-10-25 17:40 ` Leif Lindholm
2016-10-25 16:37 ` [PATCH 2/3] BeagleBoardPkg: move to generic BDS Ard Biesheuvel
2016-10-25 17:41 ` Leif Lindholm
2016-10-25 16:37 ` Ard Biesheuvel [this message]
2016-10-25 17:42 ` [PATCH 3/3] BeagleBoardPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES Leif Lindholm
2016-10-25 17:16 ` [PATCH 0/3] BeagleBoardPkg: eliminate calls to deprecated functions Laszlo Ersek
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=1477413440-680-4-git-send-email-ard.biesheuvel@linaro.org \
--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