From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.41]) by mx.groups.io with SMTP id smtpd.web11.29383.1590731602469379720 for ; Thu, 28 May 2020 22:53:22 -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=I0znIC67; spf=pass (domain: oss.nxp.com, ip: 40.107.13.41, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W1O9McfCtHeqB8otqjdvIS8t//69+BWEhuzp0paBYlRfHpcVWfXNN5R2E4kSmFh/zB2WP/l5UXQZXgcjqBucb5kpZHo45rh+T+tOPipFS8mFit+790AeOJJg+bU7OSXY+8qqTDUpBCwD9GOLHC7mzEWCJKf+6BQpJVwyoOTI9sOxkCuNWGlTwCSyVLeE9ZIHIbjf9C1DRBrKGc61RfaU+iEXV4A6b5pHIFpUG0YNTdNdaRQLQSq+y/YDzp7OuRsG7TT5KB1kVqBEveak4fchyQz9PQ/J2t+QaaesCJ95ri78t1qaYEnuvPq+kSXZ2WMVbrxIfcm8fo15DGqTUocuSA== 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=syarYGrglbQRC44jq7ET6sRM5Pm5/mYoLplubcSeM2o=; b=NQG9jfU1J9VNq2MgRJflinMx2dIpuosxTV7yZBPMtZlm7hg9sJ7Rk1HhdEN1VdKAQOD9S0UEqCjT62hHKlp7ygaAl2tBYaH9dbqMnVGZL2Crc/V112sEVW4sLeU/QmHA0YC2n2ZY3XqfLpw4aohB+XjcmsjJjzNl5PtNk6O3mbHaqGKcz8+FRTOs/61FsyG58rldztZZovsftSsI3dlYaG8a7/bqTTaggdo+K4VN9lqpTTUGW0N7udHTfkMke7shbj2X0BKT1vCrDa+fYxsxc44WrmK5bPj1RQe5xBrTNpRjOVZnkX5JEqC7/3UgxmARKyOzlwNzXY2ieuR3hP5dKw== 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=syarYGrglbQRC44jq7ET6sRM5Pm5/mYoLplubcSeM2o=; b=I0znIC67SEjd67YdCkEk0BEUuPXs1otfwBnOxNyZ1wIuaM9XTQzkOqFKfS8TMJjMnjoGbtB02KfCK+m2tV+I0AoDmcWya31deKAPk4fbSMb8CY27eadTuO1w/p8LOQnCmVoQQMIDhR5FGYJi0az78hSnmJOvWzNzZT0/ipib8dM= 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 VI1PR04MB5598.eurprd04.prod.outlook.com (2603:10a6:803:e9::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19; Fri, 29 May 2020 05:53:18 +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.018; Fri, 29 May 2020 05:53:18 +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 v3 04/10] Silicon/NXP: Use edk2 recommended compilation flags Date: Fri, 29 May 2020 11:21:43 +0530 Message-ID: <20200529055149.30953-5-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200529055149.30953-1-pankaj.bansal@oss.nxp.com> References: <20200529055149.30953-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0112.apcprd01.prod.exchangelabs.com (2603:1096:4:40::16) 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 SG2PR01CA0112.apcprd01.prod.exchangelabs.com (2603:1096:4:40::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19 via Frontend Transport; Fri, 29 May 2020 05:53:16 +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: 55bfc418-390d-42d2-2081-08d80394963c X-MS-TrafficTypeDiagnostic: VI1PR04MB5598: 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: 04180B6720 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ov1beyik+V68KoGAZMovnFlP0DrHR+rG1KZW9yQuYntgzdO/4ECiXHXLdMYslDi0eiBjSiwv689gYlDvFnjH7uGtADK6OS4IPx7XWnxJQwz4IjNSrk93ILf5hka/WI9LMZuhJcXBwUzQw/3M/WjS/0N4dmW7MqMNpDMYeduihvC7t6vpQdF+Qtvo9ZDKcYVULaIAFReiijGff9GWXapkm3q4WGJkNrHvsjPPc6XyUjKd4+ACZbA01UBCpwi8F/bTBGMaU4hO07eyfPUHZuH7aCa1KurZxoDEt+VVaq1reVpUCIRcYHdbaCVsISHGD3crK9ljFTVNsNdyE0NjJrkvGQ== 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)(136003)(39860400002)(396003)(376002)(346002)(110136005)(316002)(52116002)(66946007)(66476007)(66556008)(2906002)(6666004)(86362001)(1076003)(83380400001)(8936002)(5660300002)(8676002)(956004)(44832011)(2616005)(6486002)(6512007)(6506007)(16526019)(186003)(478600001)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: xdQPLSQeApe0a157XtqfToANHNiQl2BiOSQPvcEJXsZ2hLSfstqMkor8SOBDTHb1lOnf1cKu/TDK8CIVINMFhgS9gLS/kjO4yx1A4W99HhaCBpGbeEqwkHocRBaBjJtxIEpQVnm7P71z/FD5VxkFRZR9ORodUZGufeQA2QPvVYCOuPDY+YmCjdMr22JogNnACXnFpav3DT+tCVot60KlrxapJSSnAWSfCsejPC5nBgXv9z4Ky//SHhQPAlXUs1+mylBveylIucnb/8FRZ9qBlm1yalTC+Zsv1vf4aOA1kAbe1/ekRVwa7tJ6A3lT87EvRGFnxiiMqwLYi3ep8olxZOXiYbKSaXTg1rzo+N3DeHxdix04smcEro0uDLoHMP3aPDqg/Ptp6b+ep6+E5Bir9bRiXM5uBOWQOfRwrPQy6oxKAechUKALA/8v1jbY7isw8og2mn+Sv18crpBituY7miKt7pTn02NtvKUXhrnC4Ac= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55bfc418-390d-42d2-2081-08d80394963c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2020 05:53:18.7009 (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: eUC8BeIHsVV2a+qelqR5Q2S36ZhczQAf6RqDfismeIHzKo3zq6BDJp0XiXdOaHcocYFUFKgN/1f2cZ5t0f+uVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5598 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: 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