From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nxp1.onmicrosoft.com header.s=selector2-nxp1-onmicrosoft-com header.b=Wz63nDkD; spf=pass (domain: oss.nxp.com, ip: 40.107.3.89, mailfrom: pankaj.bansal@oss.nxp.com) 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q5L2Uor5vt+vyqopgY9qLvPh+Co0SyQfcJoSQmOzdHU=; b=Wz63nDkDXGOrhyMFUGNtUn/pPoV9C8WlUTWYqHdvplh1Fnc+hEWIoExtW3D6ZbOz/427+XCUGOBVR+UKQ1BTfxrZomKlueSep7oRVoZ6gXD126uh2GV9xsWGVGiGEIgOakod/qJ9PQRx06dsloBMSWJXxhVQ4WqR31I/NQmHdw4= Authentication-Results: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=oss.nxp.com; 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 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: [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> X-Mailer: git-send-email 2.17.1 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) Return-Path: pankaj.bansal@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 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-Mailer: git-send-email 2.17.1 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-Forefront-PRVS: 04163EF38A X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GR3wPEXxIypDcqWSGUDQc6UIFbZTeF9Dpg6/REU2JKtJoNxl/Rf+WsdC/hFM5EFW8jP8Tl1j5EC7EA+PUuRIgIQsg9Dyo4Tgb7MsnDcdpVBBxW5v54QniJg/HFMnehfG4PQ59ylBf8cfznv3YKP9KlS2oW8XvUCGO6pAtJIGfcS+G391dvV8D32VNa8+uqqlX1DyQ7ESc+xyd/DVGTzZP0am5zf7D8NJqK4QVEoTMUjikIJQOX1XZ1w24UxbWCQzOW21Okhnvm+SCRfzYtCGwtLFX0OKw6Y8BJJDVg+/UpNAe7U5CYN3lSqxyZuxPOEtekwTGX1lWZPg6iTTS0MMrg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5933.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(346002)(366004)(136003)(376002)(396003)(5660300002)(110136005)(2616005)(956004)(26005)(8936002)(66946007)(4744005)(316002)(6666004)(186003)(2906002)(66476007)(16526019)(478600001)(44832011)(66556008)(6486002)(6506007)(52116002)(6512007)(8676002)(86362001)(1076003)(83380400001);DIR:OUT;SFP:1101; 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain 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.in= c 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