From patchwork Tue Oct 25 16:37:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 79229 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp3212359qge; Tue, 25 Oct 2016 09:37:47 -0700 (PDT) X-Received: by 10.98.200.15 with SMTP id z15mr41441560pff.128.1477413467200; Tue, 25 Oct 2016 09:37:47 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id t69si21494351pgc.173.2016.10.25.09.37.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 09:37:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id B9EBF1A1E8D; Tue, 25 Oct 2016 09:37:44 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B64281A1E57 for ; Tue, 25 Oct 2016 09:37:42 -0700 (PDT) Received: by mail-wm0-x234.google.com with SMTP id b80so173405817wme.1 for ; Tue, 25 Oct 2016 09:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QXihJpldsgVia5JRSibJ5p+Crl4OYwxKB0zGiUlYauk=; b=W9GFvxA+4vGVeg/Anug6js30VO7nCUsJIKz2obE8wcsSoR+1J5lvhZovK2Wx+IVKO1 zxC2l9jQ905FYIGWUzjfVwInURj7658OFU9W1KLMwJzql8oNaYML4S/cYVlFMl5Q6knF 8A9mZKs6PSpuAC0eWvBl0hA/h7m+Cbv21PkMQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QXihJpldsgVia5JRSibJ5p+Crl4OYwxKB0zGiUlYauk=; b=MHoYc3KL4sxOZCXYqcy+YhDTdQLA6YXBBnvMZTldhVNePVR5vBLZ2svwplaK80yoMo cEEiH5O8A12YFAJLZ91x15xMkJYkJKvy6mQdC1233MR3UO77tnCJuOPQ1v9y23XeKwzX B1J/jIZo1OjtneFefsPJ7uzxK6V+4xkTGhdtAh/26CLP2xRCTfvW2yI9pDmkmOY6IsEJ 80YMliEWaFMOCU1fpDZshA7gp2UMAvFHbHVkZr3b616MM3ZHSVf7N9m73GsGXGf9C8qx 1p7gKeDRnyrXYxOIwts/LP46gjiZ/eu8gABx2LloTHRLIYoUvu95pnNtF4QYmF9eLxGe Wy6w== X-Gm-Message-State: ABUngvceWXc7y714etFwOnWlF+61vBGBpVJTj4GmFkF6UUK4OtUi7+66tg/Y7aubsGeQ6Ca/ X-Received: by 10.28.159.208 with SMTP id i199mr3957630wme.2.1477413460439; Tue, 25 Oct 2016 09:37:40 -0700 (PDT) Received: from localhost.localdomain ([105.129.136.43]) by smtp.gmail.com with ESMTPSA id 72sm4574673wme.15.2016.10.25.09.37.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Oct 2016 09:37:39 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 25 Oct 2016 17:37:20 +0100 Message-Id: <1477413440-680-4-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477413440-680-1-git-send-email-ard.biesheuvel@linaro.org> References: <1477413440-680-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 3/3] BeagleBoardPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lersek@redhat.com, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 --- BeagleBoardPkg/BeagleBoardPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm 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