From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=3RrUiBrM; spf=pass (domain: arm.com, ip: 40.107.6.57, mailfrom: sami.mujawar@arm.com) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.57]) by groups.io with SMTP; Thu, 27 Jun 2019 06:12:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qut/EVNSDUO1B5kx2K5T/ojjZmGq8SXom351NAJ5Q1Y=; b=3RrUiBrMd3QBdvF3yZOfKMXeTrFDDEseaGNoaZXtOjKDga/W4/vB7LmeRcTEly2vGENsgpHaXmXAp7rB0Q3y+BWmS8XEOWnoOlj5NkhJlcS0QpXQ04k6/TYJMZvG37Pf+JwX5eiv8zJL+ZRMAELiBQOFSnOpj2qio4wQWyZsom0= Received: from VI1PR08CA0096.eurprd08.prod.outlook.com (2603:10a6:800:d3::22) by DB8PR08MB5033.eurprd08.prod.outlook.com (2603:10a6:10:e7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.17; Thu, 27 Jun 2019 13:12:28 +0000 Received: from VE1EUR03FT038.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::202) by VI1PR08CA0096.outlook.office365.com (2603:10a6:800:d3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2008.16 via Frontend Transport; Thu, 27 Jun 2019 13:12:28 +0000 Authentication-Results: spf=temperror (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT038.mail.protection.outlook.com (10.152.19.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2032.15 via Frontend Transport; Thu, 27 Jun 2019 13:12:26 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Thu, 27 Jun 2019 13:12:22 +0000 Received: from E107187.Arm.com (10.1.195.55) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Thu, 27 Jun 2019 13:12:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , Subject: [PATCH edk2-platforms 2/2] Platform/ARM: Disable deprecated APIs Date: Thu, 27 Jun 2019 14:12:13 +0100 Message-ID: <20190627131213.10972-3-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20190627131213.10972-1-sami.mujawar@arm.com> References: <20190627131213.10972-1-sami.mujawar@arm.com> Return-Path: Sami.Mujawar@arm.com MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:40.67.248.234;IPV:NLI;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(39860400002)(346002)(136003)(376002)(2980300002)(199004)(189003)(72206003)(305945005)(486006)(6916009)(356004)(6666004)(2906002)(86362001)(50466002)(48376002)(70206006)(70586007)(36756003)(1076003)(5660300002)(50226002)(54906003)(126002)(476003)(11346002)(186003)(478600001)(316002)(16586007)(26005)(77096007)(47776003)(53416004)(7696005)(51416003)(14444005)(68736007)(76176011)(44832011)(2351001)(81156014)(81166006)(8936002)(4326008)(426003)(63350400001)(63370400001)(446003)(8676002)(53936002)(336012)(2616005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR08MB5033;H:nebula.arm.com;FPR:;SPF:TempError;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fb3594a7-279b-4859-7280-08d6fb011a00 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328);SRVR:DB8PR08MB5033; X-MS-TrafficTypeDiagnostic: DB8PR08MB5033: NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-Forefront-PRVS: 008184426E X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: LIXksSAbDsD6WseKzHfOiPfdkR243bXaGJMAzHZmMiST53oIKNv9BRop6L4frARvjQDOPAFnWcrZsZGU8GqEpAzahPirynugYFX9H4sDglkkhrH/vB2k3VwE6ni2RK8cPSRHLrfrnkHVrpoDuj61Dyrjf7kD7PoxGgE3tp9xDgoxl/LlezAFogwXSmkoe468o+bjwVfmPaFOq7h6SsFG+DxQqAlpSkU7EFyIYoHeQkh3I8is1y+Q0r22GiutkNRenrjCxHGFXpLjQ408iEEyVLEQ6Ph6nMYs4rFYMZx9Ub6zbYnMauX2m36XjCVlkdjWdIEaBM1QxVP4XakMfZ+8hOqhXgW2EhG781i5LcA1IdTWN8cYCTJKG1uTZydqiLPD6j/MWjzB18vcW0pMbJ+zJ0ZsJxtUP6HNAwMkJgM3tTk= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2019 13:12:26.7688 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fb3594a7-279b-4859-7280-08d6fb011a00 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[40.67.248.234];Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5033 Content-Type: text/plain Add DISABLE_NEW_DEPRECATED_INTERFACES macro to the Arm platform build flags to disable the use of deprecated APIs. Signed-off-by: Sami Mujawar --- 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)'