From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 233B0A04BB for ; Thu, 17 Sep 2020 13:48:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DAA371D638; Thu, 17 Sep 2020 13:48:21 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10073.outbound.protection.outlook.com [40.107.1.73]) by dpdk.org (Postfix) with ESMTP id 90DA51D62D; Thu, 17 Sep 2020 13:48:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NWxpOsDgRiY6jGNTuw3bATdrZTIqcu1uyv5qJaxozjwERVdACgLgFETPwS6JKgdtFgarq7AjK3vylgdkHUEwRPQNKttfqLdptC6WN/0ZAuywgHuB441w01Be7gySeJlB4tcbXVF5QfuZN/F8FfYuJRrBxa/7ek5I7WVBdER/Qb5paWUNksqVec2JzaBlybsm0EbbAVSPLFbM6VS3FhQi34+h6Ouw1G8gwnd5wEC5AVYIf2X0aXzujsJz3Wv2Hcp0fWmAOIAREbVGM/6hkppl+lY5rYb97cwH/oICuczhUk+FqAOp8uJUz24aGFeOt2E0FlXnJ9RLaCfAAWLOvMmefg== 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=roHD/UF+SIgZz0VWc7C/6ddiqNCXB1iCgThTewXfRb4=; b=clo5HKAtjfVHnn0ni6xYcC6aOUP+MHKrSxu2fRmCOfaCV1LSETm6nhZz6CWXUInFo51yksxgOfX4pGo2y9zi3rSm/fwhJwof2gwZW6/dnDhvCRa+Wwyuw9qjT99+Dz0S6RBshWfNT+GA7lAT0M39ep2ZTeGI+IOnzt9+TyKrntk1xN/oNtoaljABn1MkKVecRxUdgKmBZj1z3Vn5e6gSM+NsGw3liBsnepIVtMS2qqCYqgbc99lNepm8Qn+cIjsEq+4/1oHJC2MCTunupY6U89oDskpNxyvkmQdTi5KeMkgXDl2uGUs120SmlezoBw2Lfkni3Km8Rn7KX/T9L0Zibw== 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=roHD/UF+SIgZz0VWc7C/6ddiqNCXB1iCgThTewXfRb4=; b=IdvlqtOmAE1HJUiSonJvVaWpB1GKWcC3pTlBhUqJxF6E2InycVY8DDsVppZbvGQr8xNE0Fap59m/m5hds6h0V8hkSvFwzg0OGgn0FHy9iiP17sFkUMiQWQsvM4nPD3IpkXiIwlBEBFy+PheVxwvNvw3bWUkekmMYfWgI4KnEYvM= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) by AM6PR04MB6070.eurprd04.prod.outlook.com (2603:10a6:20b:b5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11; Thu, 17 Sep 2020 11:48:16 +0000 Received: from AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::e024:2be5:29c3:31b0]) by AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::e024:2be5:29c3:31b0%7]) with mapi id 15.20.3391.014; Thu, 17 Sep 2020 11:48:16 +0000 To: Chenxu Di , dev@dpdk.org Cc: junx.w.zhou@intel.com, hemant.agrawal@nxp.com, sachin.saxena@nxp.com, ferruh.yigit@intel.com, stable@dpdk.org References: <20200915024055.72103-1-chenxux.di@intel.com> <20200917084357.14717-1-chenxux.di@intel.com> From: Hemant Agrawal Message-ID: <51254e53-c32e-606a-2641-7bbf851cf695@oss.nxp.com> Date: Thu, 17 Sep 2020 17:18:07 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 In-Reply-To: <20200917084357.14717-1-chenxux.di@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-ClientProxiedBy: SG2PR03CA0115.apcprd03.prod.outlook.com (2603:1096:4:91::19) To AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (122.176.3.89) by SG2PR03CA0115.apcprd03.prod.outlook.com (2603:1096:4:91::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.4 via Frontend Transport; Thu, 17 Sep 2020 11:48:14 +0000 X-Originating-IP: [122.176.3.89] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 92bcbb35-91ab-4d3a-4ffe-08d85aff90ab X-MS-TrafficTypeDiagnostic: AM6PR04MB6070: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UT/bl4fRgxHupHShyglhBPSXJp+VL1i0ex0aqlgxI0z3Up3Vl0qd37aiOHV193KFu4n3TjZx4LXIPK5DvNtxfHrVg/o1/UQ6okCjItuhj49V1axgZV7dI/bCqVH0dbORDM9ADAWHlYITRSvOI1uaZFk9M4it8c/KSfyalOFPaNDNBn7VcLPyrIe4DUzSpmSbix92RTAyxMqdzA9hih8N9PzPnq7jIpR0Y6UjpCSG67+jSznnC7Bi6e9o7I26iBIQdJFTp2SK8UtddHIX/FWDHqb2yx4zzaCPe8LNGuYiw3XbUhyrciqhOVM8ygeW6/NRCAenGl4y+jHgFxmY42YUV7t3m6aaI8PM3BuCmUM+JMLou65o5JVuN+HmXbi2vnJLIW8ViRlpgHQwz2RqT1b1dxqV+sXc5hJC8GMZzNdcBcHhUq0D5WwkDzSSD3Ry+6iB X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4456.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(376002)(396003)(39860400002)(136003)(2616005)(956004)(44832011)(5660300002)(86362001)(31696002)(66556008)(6666004)(66946007)(52116002)(4326008)(8676002)(66476007)(16576012)(55236004)(6486002)(316002)(478600001)(16526019)(53546011)(26005)(186003)(2906002)(8936002)(31686004)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: NXALkLhWJmToZt9yrlz8Q8RyiqMhZQP+O2OKKZ3NIAOQ9mi4w3hd9/gcQM1hnU0AAiDygZ8ByvOJPjLdDTgsTFvf/ThmHvTkajmnclM3Wm6rrRYStpfSEIxh4+YResZt/fCXTZceM4pK1QsUJqmJ5RZk07fiuqpoyQ7LFbLOQbJNjHA9TD7vHiT3GMZS2ds+oNtJzIvp3hUFGDYRoifIFTIWzxuj+k1x4W09QyFL4Wrn5c99KAOtUleDxoFo5jZ7l6fDzwgyJCKjvtXwzG0CKz45nva3y6tcaiFM3Q0jU+1bhezyDnrPP6xM/nVG4PMcYOc/8gEVJSSVTk847PHUKdZ844b+6DmeE+l+wzCx5G2QHZwuUxM0F/seaLhjOvlPepwYSjOob8OzbtQUZlY0SIMgPgs4ghqcHlvOcyZ4L5U9edonOr21zLgOVRxzYeyjgd15nmBZIuagszQUWBaL++HKoLuWL2OwV5Vo806ZEiVR5KyBVO2OkVZpR5knaZqK0U8TDa7WIDkaKngwx252Zo6y1SenxJ8FMqzrpSGl0vWbaZgj3Vsf2KMy5YepKNAfZYDpYaTbmIAcFgRfjjj6Y9HYE7geaUFzzAjuHAH0C6o/DU2f2SKZ2YlpiSxpqC638jc8wWTa9L/oCj9XrTP4OA== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92bcbb35-91ab-4d3a-4ffe-08d85aff90ab X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4456.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2020 11:48:16.5130 (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: +ANwka0XRAi6wbHJS0ejt7Y9812YYz3zN1nRTD25aPFXlp0n/8bwCfnMPnKHdeYYNxm6lZhY6bg8TPfLc5zItA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6070 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] net/dpaa2: fix build error about timesync functions X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Acked-by: Hemant Agrawal On 9/17/2020 2:13 PM, Chenxu Di wrote: > When the build option has '-DRTE_LIBRTE_IEEE1588=1', > the announce of timesync functions will be build. > However the dpdk_conf doesn't hav RTE_LIBRTE_IEEE1588 > so that the file dpaa2_ptp.c will not be build. > It cause the build error. > This patch fixes it by adding set for dpdk_conf. > > Fixes: 184c39d16568 ("net/dpaa2: add DPRTC sub-module") > Cc: stable@dpdk.org > > Signed-off-by: Chenxu Di > --- > drivers/net/dpaa2/meson.build | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build > index 6dd0eb274..43d625dc5 100644 > --- a/drivers/net/dpaa2/meson.build > +++ b/drivers/net/dpaa2/meson.build > @@ -17,6 +17,12 @@ sources = files('base/dpaa2_hw_dpni.c', > 'mc/dpdmux.c', > 'mc/dpni.c') > > +foreach each:get_option('c_args') > + if each.contains('-DRTE_LIBRTE_IEEE1588') > + dpdk_conf.set('RTE_LIBRTE_IEEE1588', 1) > + endif > +endforeach > + > if dpdk_conf.has('RTE_LIBRTE_IEEE1588') > sources += files('mc/dprtc.c') > sources += files('dpaa2_ptp.c')