From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com []) by mx.groups.io with SMTP id smtpd.web12.37177.1591018565558875974 for ; Mon, 01 Jun 2020 06:36:19 -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=R2NEo8r8; spf=fail (domain: oss.nxp.com, ip: , mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AHk90nAtWLt13b9hbu2Dqum/31VwvS7xNOYLBsbbYUovlUbAaj6QpZOputC/dgCdPr6tOmXSiGuXdCXSNXlsaU3SbyTuMqqc6KbmD6+xIUh1RIrhfUcSCsalwavGMY+onUZzowBZIEUmm1pMpPfx9kWoc+wpMfLtT7Le/AjjnPqK4YbjH72KTQfLSfhHnjETbPR/PuiVSbfBGr49P7stLfo+1jlj+et4+L1vPoqDWNeeU/QVnpqVD7Z4fkjLZ8uY8abuhM0bkAk8tIvkUNTXBCLapkOsLvBhsr7t5AtPzkK33/ORnCji1oDte0+h381InmnqLsBSRq5q9B59xRnbQA== 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=c7QyJ0UfKJB0udQhR/5XG45/cbioyWXTzmei/0K42TY=; b=YspqGcP5ZH5RIrlv89l8ZMzA+17aaeXwZdYysLhxWYLa2s3NYTBbl/pGBkrkAcSGGIiboLkFTjbe0H8NQlfyEf5r4AQxLWFuvpqODmDW8Ed90xPyVeAAC/NRGVLZtkgUlm9iO6NYy626sRInHk3dDjxqX9/htGjU2lCDLWJiw1oHDkcz3w66HD9o4q8Lh+pJpsHtk4E+Mai6HsIPhvLdYVCPuTvvL3RsXZJau/W4PeHRmJkjW1QIRJOUqDbLsRepCXBqmbcA1+8L9XKSSu7162vZv8ppWp25GxYovtninSOQ8qjgtqVPKfjBqT22UCOcvBTXMG2M/owXs/lBqQMwxQ== 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=c7QyJ0UfKJB0udQhR/5XG45/cbioyWXTzmei/0K42TY=; b=R2NEo8r8kj6ABM4fjtvKPMDFdKukS2wVtWsfiKEG3DJZ0wmYW3Np1vkPjdGgVKfKW02WgoyDTsUc2Zs7YAYR69CZU8LGHlOKkdUnuhnOH25STuBDixKvrNWKru2xTF3cDYUkRQGFPFYsyDDP7qQtZsW6LRKqoZ6novEaQXHNuy4= 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 VI1PR04MB6096.eurprd04.prod.outlook.com (2603:10a6:803:f6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17; Mon, 1 Jun 2020 13:36:11 +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.3045.024; Mon, 1 Jun 2020 13:36:11 +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 v4 04/10] Silicon/NXP: Use edk2 recommended compilation flags Date: Mon, 1 Jun 2020 19:04:33 +0530 Message-ID: <20200601133439.5711-5-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200601133439.5711-1-pankaj.bansal@oss.nxp.com> References: <20200601133439.5711-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0097.apcprd02.prod.outlook.com (2603:1096:4:92::13) 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 SG2PR02CA0097.apcprd02.prod.outlook.com (2603:1096:4:92::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17 via Frontend Transport; Mon, 1 Jun 2020 13:36:09 +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: 58e40877-d539-4223-82cb-08d80630bf7d X-MS-TrafficTypeDiagnostic: VI1PR04MB6096: 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: 0421BF7135 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4IcozxNXdvr+N9nDRLJy08cjPRIzc/R7ADtV6/NxL4c9gcFxlasLu9CDuNXdlIZaHKtbEFAd9nEo22ZooY6ma1W+lfKt94CADyBVdcWc1WkBp3C1WcdLSMDbPe2H1LDI6vaLY6EvnQe1+jtKqvhs2gCuYaSCSV+zm/YvhplW8ZOycBDHnIbFJRwkUkzYkQcI8XORjdr/MInrSIkGNkYE1hQIdEhlaP4E5+JrRoXrwcoZ2A7wI2bcyYN8xpAKRRxJk6/2vU1TpDEajAQ4RkqYP71LNNNDZe46n91+w06woZZ+l5gy1rBetIyk9cGBOUiOt5inpFNW3phJa9FdOhhCPw== 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)(366004)(376002)(346002)(396003)(136003)(39860400002)(110136005)(1076003)(316002)(86362001)(6666004)(44832011)(16526019)(478600001)(6506007)(26005)(6512007)(186003)(6486002)(52116002)(956004)(66556008)(66476007)(66946007)(2906002)(2616005)(5660300002)(83380400001)(8936002)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Yz3T1ZTAdhT90nTMdageRU1IHqeYHeUMoE3tOUoastdVyanXveVIVoalOq9gV472Nf3qDO7NreA9wEc4YRjk0uwBm5teFutxZ2HnB+miT6/NSoAf80jC2ODQdp0dj+UtZsEnFSuxgSfEGaelmZ5RPteHhBdvVSPap/eTf1ufCYA2u0+jGd3BkqO771rxxYKa4RsLmHhDfjgV1t11LA6nguVKgx3qvfnWpLk04vcV1k0ct32k1eXx5Zjh3yovUwbvqZnFipQIopXLV+PB55T8sq6zICqxp8LJ4N+uS+zhV//WmPsLbq6PehcQU2qDQtKBOHSOxkzKivxDe61Bt5wjn3dxUehVMES0b0I7pEsjZV1XCbpuW8Nigw5nLTAZqPYcCM2Ef0EJuY/EDO9IRArORLi/oWUf2n4SwudAcI+Xyy8aDg8hU//gLBSeXDXhl2ijufgV6bMZ8FYP+oXCEet5J80XlvcnVrZusXUJIufA1o4= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58e40877-d539-4223-82cb-08d80630bf7d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2020 13:36:11.7473 (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: AQYTJrNmIKOdTKnKqBf9h1lhAkmfR8NkAnsvHh7eqjRz3Xk/nQI+ennNyOR9yWxjTW7vd+k1bIAzljvPqwSVgQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6096 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 Reviewed-by: Leif Lindholm --- Notes: V4: - No change =20 V3: - No change =20 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