From nobody Tue Nov 26 04:14:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+60323+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+60323+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=nxp.com Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1590569583773369.2920370124381; Wed, 27 May 2020 01:53:03 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id zbu9YY1788612xKlhZaWLJKE; Wed, 27 May 2020 01:53:03 -0700 X-Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.89]) by mx.groups.io with SMTP id smtpd.web11.2220.1590569582594940560 for ; Wed, 27 May 2020 01:53:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ATMM86kL25S7Zwqhz7JgwCT8RyXQul++wgADQjRljnCl6Kl1tU1BHuM3O/iJr00xUVXwBgIuQVKeMg/7mOBi97L4r1ocQgFUBLBdScXOffLFcMh5Q8W7dbjx+24BJrGV7a1cI2/D/rHquGkRm/GjduZ+8Xk35dE0m8e0i1D/lcnQjl220O/S6dIsXRpP494EB66EZ6G9yqi5NqoqL8ST71ubq+wMYiWq5wE/9ddzvVRlrm6sZc0AWG141HukTTHx2kA/hXLRoTUIoIsX9ilg7R7HuVV8upcrJRRdQauRZGar6zLh4w7SR8D9LCkj985RZICSpjG3qAB7QXDnBsVwBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q5L2Uor5vt+vyqopgY9qLvPh+Co0SyQfcJoSQmOzdHU=; b=gsEEIAp3GVKowbVw5IXkipy338KNRi0VY85O5cFDFCo/74AC/gsAJocqTJH5vV9zxGP3H4ne3U6/5HnvTfTZJrDr3kee/g4AAQKqQCYE3hziAwqFTGSyD0EfqIGpmCGpp+ZP2yWKbPxH7zT0YxijcG/1zz/yrinS3IauewawY2LqSQDaa7J8rS52zEk65Y6DBpaVqkYGXUifIMwvWZt2nOXw0bGbY9SWsbHx7S7z8qSqPBTEt2pYytRViUqLtGzfIoWq6oB5JD0F70qkkEdikrdi3yuMOG+ImIhNNJlIPv81IOdQ9haag1kWkq9KgpRtIYPw2SVbGHk2CbmdLIkGMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none X-Received: from VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) by VI1PR04MB3181.eurprd04.prod.outlook.com (2603:10a6:802:a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.27; Wed, 27 May 2020 08:53:00 +0000 X-Received: from VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::45c4:8846:5327:9513]) by VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::45c4:8846:5327:9513%7]) with mapi id 15.20.3021.030; Wed, 27 May 2020 08:53:00 +0000 From: "Pankaj Bansal" To: Leif Lindholm , Meenakshi Aggarwal , Michael D Kinney , devel@edk2.groups.io, Varun Sethi , Samer El-Haj-Mahmoud , Jon Nettleton , Ard Biesheuvel Subject: [edk2-devel] [PATCH edk2-platforms v2 3/9] Silicon/NXP: Use edk2 recommended compilation flags Date: Wed, 27 May 2020 14:21:29 +0530 Message-ID: <20200527085135.16717-4-pankaj.bansal@oss.nxp.com> In-Reply-To: <20200527085135.16717-1-pankaj.bansal@oss.nxp.com> References: <20200527085135.16717-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0164.apcprd01.prod.exchangelabs.com (2603:1096:4:28::20) To VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-Received: from uefi-workstation.ap.freescale.net (92.120.0.69) by SG2PR01CA0164.apcprd01.prod.exchangelabs.com (2603:1096:4:28::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17 via Frontend Transport; Wed, 27 May 2020 08:52:57 +0000 X-Originating-IP: [92.120.0.69] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c2629da3-eb0d-4d25-8ebf-08d8021b5bb9 X-MS-TrafficTypeDiagnostic: VI1PR04MB3181: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2331; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: GR3wPEXxIypDcqWSGUDQc6UIFbZTeF9Dpg6/REU2JKtJoNxl/Rf+WsdC/hFM5EFW8jP8Tl1j5EC7EA+PUuRIgIQsg9Dyo4Tgb7MsnDcdpVBBxW5v54QniJg/HFMnehfG4PQ59ylBf8cfznv3YKP9KlS2oW8XvUCGO6pAtJIGfcS+G391dvV8D32VNa8+uqqlX1DyQ7ESc+xyd/DVGTzZP0am5zf7D8NJqK4QVEoTMUjikIJQOX1XZ1w24UxbWCQzOW21Okhnvm+SCRfzYtCGwtLFX0OKw6Y8BJJDVg+/UpNAe7U5CYN3lSqxyZuxPOEtekwTGX1lWZPg6iTTS0MMrg== X-MS-Exchange-AntiSpam-MessageData: hzaabPMyvXepD4+OkjNdb822cU9a1QhIzJGuu/S2kio69CwtItWQKWFssv3oyU/Y0Of9D0Ylq/ZCJOxEMzKnx91d9xNYqD1m/BfnCP+8Kj0yWxUoC9c4To9wgxOfLeoL44zlsnHlfvJLbYvdyU+xVVr7u9DGHoWdi6PKAb2Acz/9XOslv0W1wr9CWTsY0QSNHLS67xLkpAd3lXMqzoPKoVB+RN2Z8RVfgNdr+cSGcTpPPpBAaRKK/WgnC/C7ca+o6O1NPVg14zpDwKJGyLg1+WzoUgD8h0v+58QbJAX6CeYCA35V0PLAfwwf+jfuED/VK6iG/qMQE0vXbs7ZePMM+9NlFW3GgvvRLx4qCht/zZpr2/kWdD9VP/b2w/YFBZRablW2CJlGqc7aTG/0r2pfMFxroe9jufjiSCTakmRsLkp5NKmkMs4hiZfbv99MsldjWkAZLPK5zC8kt+Bhdu1pbcJqSI80E4HFrjQ/vI67GaY= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2629da3-eb0d-4d25-8ebf-08d8021b5bb9 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2020 08:53:00.3352 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jMqN2FE0XQ0WXYT71lbEqvJzRbILFQwZIcYDzoqo/U7mWk15Gz8Pcpz1xIn7oxmhwaC+fCW7lKZ+khbVoKa2Ww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3181 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pankaj.bansal@nxp.com X-Gm-Message-State: 2Dv7LRIVFrEJtQGypuPHyvdPx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1590569583; bh=0zNiUrShB/hqjzzYdDWG5sH8Yqqaym1OCSfJoDBV5wk=; h=Content-Type:Date:From:Reply-To:Subject:To; b=xTQP5uBLPIuPvRwzZ5BgYw+OiyCMYBCLrCEh3mmUThqIjq20EiycHH5Q3HAp6v09XeM dJjkSDJw1k/WdhZ6RzTdy89T180dH/Yi+UqufrtLdQeVHUvJTZb3jptLfaIuCeGUlTWW2 XpHIRxiiZ3BkyHMYbPJ1LWEtFGQFtyR0UNQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Pankaj Bansal edk2 recommends to use MDEPKG_NDEBUG for release builds and to use DISABLE_NEW_DEPRECATED_INTERFACES for all new platforms. Therefore, enable these flags for NXP platforms as well Signed-off-by: Pankaj Bansal --- Notes: V2: - No change Silicon/NXP/NxpQoriqLs.dsc.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Silicon/NXP/NxpQoriqLs.dsc.inc b/Silicon/NXP/NxpQoriqLs.dsc.inc index 12e2b89fac58..ee639d552483 100644 --- a/Silicon/NXP/NxpQoriqLs.dsc.inc +++ b/Silicon/NXP/NxpQoriqLs.dsc.inc @@ -173,7 +173,12 @@ NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf =20 [BuildOptions] - RVCT:*_*_ARM_PLATFORM_FLAGS =3D=3D --cpu cortex-a9 + GCC:RELEASE_*_*_CC_FLAGS =3D -DMDEPKG_NDEBUG + + # + # Disable deprecated APIs. + # + GCC:*_*_*_CC_FLAGS =3D -DDISABLE_NEW_DEPRECATED_INTERFACES =20 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] GCC:*_*_ARM_DLINK_FLAGS =3D -z common-page-size=3D0x1000 --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#60323): https://edk2.groups.io/g/devel/message/60323 Mute This Topic: https://groups.io/mt/74496018/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-