From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0089.outbound.protection.outlook.com [104.47.38.89]) by dpdk.org (Postfix) with ESMTP id 86C3619F5; Mon, 17 Sep 2018 11:48:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u3MrKS+FbGEB7KQkO8EiBcx799QL1uOcxZHx3iqAC98=; b=m4wPoUzVDq6DPE0d2UeBMMTGsrP5K1FdC+vKLB6FaYH+B+G1kAqjL/StGCQsKmYpNPQ5LEReuBDwMx4DXiaLTjyXizgVC7AkngrD0CJ0Z036mqXqXz+irJfHplyZ/ALzsfrky1cmTlCpHuujbUCS4Ockh8rRt0WXqGz6erOBwoI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by SN6PR07MB5005.namprd07.prod.outlook.com (2603:10b6:805:ac::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.17; Mon, 17 Sep 2018 09:48:37 +0000 Date: Mon, 17 Sep 2018 15:18:21 +0530 From: Jerin Jacob To: Gavin Hu Cc: dev@dpdk.org, Honnappa.Nagarahalli@arm.com, steve.capper@arm.com, Ola.Liljedahl@arm.com, nd@arm.com, stable@dpdk.org Message-ID: <20180917094819.GA3140@jerin> References: <20180807031943.5331-1-gavin.hu@arm.com> <20180917074735.28161-1-gavin.hu@arm.com> <20180917074735.28161-3-gavin.hu@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180917074735.28161-3-gavin.hu@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BMXPR01CA0037.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::23) To SN6PR07MB5005.namprd07.prod.outlook.com (2603:10b6:805:ac::31) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a36ce0a7-3feb-4e93-cb4c-08d61c82bf88 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB5005; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5005; 3:vi5UX3u00vLk46sVgqAu4+uu2dj/RefZQte75rRPuOl6X5+YBlNGQ3AqLcqoo2HU51FRZJsPamYDjG6IRuaDgLxFZLVOR18PHpNjmigS3Vsa5di8ryMWeozXKRSyGkKnBrtAjRq2yx6hRCOVbiG9My7O3wh5S2OkLWkc78fwNqXsbpZd46syu/dGryRexq1IsFYdxui6NxX8EX0PZuupd2FJ7PdXSufTgf8ApedBnCMBC6x8B4bks6Mo4/0o9P/z; 25:Pb2kLFIqQvPP40fpnLP7WhfWqheWNAM0CVtPwjdRYLbzvlwz/hedUBmTOJSzEOqXOTWtBCOKvXqe/ZZ8VI9UD5y6nCthX40v/+nh7ngauTHlCncg/2OaVNKANZu9r4SVTdyDLGsB5QhtsD1XdKJ/0flwcQCYasEEGlzXkL5bo0FUuK7wSMo8ner3rA9kU/PDqogVRqYht7FptkWP6Tx0Qkul0lXiDbt0chs/lMnZ5vT7TU8LNLJArNvjgnvV/RKDMWlC98Xqj//G8EIvyisJdBgyjFOfHwqSf69bK3uWTci1FD70VRxwZgA6m3kPX/TfK/7HSP1sM9apfya1ZfJ5eQ==; 31:f0Kr2Yc46Qb+1UNQ27PkH268BrufuUT/XjJkpVU1TX50SghG/hmMPO3e9UBhTW5A7BVwN3peZWbvEN7hFuB7Ue1VaBrBnN/NLvuDyQXvaJUg/zilUkDarjQS9JIxxjyb8draEaDjhQqqp5Nlba8Ve/bnS+EeQ+L4b239pDtXRzAWpPBcxnzpzsvMwsFxU7gMr8a29r3Vl5vPkJWH0PG/Gc2DI2ptLz/Ale4iyRQA41g= X-MS-TrafficTypeDiagnostic: SN6PR07MB5005: X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5005; 20:L9lQNEFAno+sF5IL9BXhrajset+58IM89A1OuvnS4nd60peME02WdD0aBNlaBqfmdcWjo8hfuUZurSrG02UfQnBz1XOHMLsYhRFpPedusQFEZWq4OcP4FOMGeq2wWfmXlDjaJewFn4sWlXv1655aHycMcShLasT5WuhTtGvoxapl/KCOkcxDmtUc37guJzUh1yH64gHzRRIAnjvPgnjFjPeiMSTDIvfE1vdeBv5s4e4OW52k7n9cujnV2aURvzjPdhr9hHEeDqAzTukr0GZj/9FE9aCM3mrCGF6oN01DbHxbFzAuuT1d1zMPLfFRuS31ci723IjiVYoaPgcVp8y7yoVmpdhLd7x4gcgXaKdIXHqVjhKeXecp3CtdfWEcgcNq2ebCU5jcdh8w9daXYaQXPnQQoiWZpT2E9xhF2wJt8z88Ra7/9sGsit1hh+5crhaM3HNVb3PvKQ4G3kVFWZ+RUCR2ZPSrX/d3RmNgyPd0Bw4iflWhJgzMM9JonCAXtDQySZ7X29OoeEbUOfprg6ReY2+xCI2PklMB5zRPrwQuSls494AEzxXVjAR4Iig8SSI9x4LIiCtA4tvKjW0V8mAMkD+2YkV4OSiD48cuURURXFc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(278428928389397); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(201708071742011)(7699050); SRVR:SN6PR07MB5005; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB5005; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5005; 4:TncRLf+db6zv0IWrIssXJO4fd7kSspwdpcneRr8tfSaW0Y0QkcnpUC3uvrlqgzxjgnLGSjgtX1+zz+c08RpkrfVkR0uLhnsb/4ykmS76LrzK6n5jEYHRelhc5bghj9lk6u66wWbJUkhhxfdH0oz4lqLeVAFAR+dnV/Ufa4d9FgqwW2dyi4jRITcM2xRffSuqGpjeq62dIfnI+pf9gDvRjc4MF7lMufUEWALBEeB2Y3b7V7biRX9b3CT/4sEpfnyMcQBsCY9awaIAQ0YBxmAaHu807RI5/Glwu3jKoeDpl/DfucvIH4cUA7SjND+/5Iu25OmHe3agwX5wtLKA9rbkoaj2Ohirt9lN0qFiffmxJS8= X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(346002)(136003)(376002)(366004)(39860400002)(13464003)(199004)(189003)(8936002)(6666003)(106356001)(55016002)(9686003)(6246003)(42882007)(105586002)(53936002)(23726003)(97736004)(44832011)(26005)(6116002)(229853002)(11346002)(305945005)(50466002)(956004)(476003)(486006)(3846002)(386003)(25786009)(1076002)(6916009)(4326008)(446003)(16526019)(186003)(58126008)(68736007)(76176011)(478600001)(5660300001)(6496006)(8676002)(316002)(81166006)(7736002)(33716001)(33896004)(14444005)(47776003)(66066001)(33656002)(2906002)(72206003)(81156014)(52116002)(16586007)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB5005; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN6PR07MB5005; 23:b4qHKr3qbwlWgFWj1nZ8jJ8Rg1Z6vTmA1dll8jhB9?= =?us-ascii?Q?92qGIzmzzztpDXT30vMRPIJkU+nsNhYYxo8GTiWxTkWckOMBuSB+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j/swa+yqf8qKEtjUmxbnTGEcr4gQx9CCuBGNRUNV0edxx8eSKPvBkx5Bh2LWPFzAe7ruImBLAOjEC+1o4sTO3gWfE7Vj6s9WitJ8KIQgR/rtZvNyC63Hjgmhjjfr4j6gz0h6147pVIKGCzNRBn290Ibaj1Hfb2SZeSlq2a04jbo1wGkTMfEf5BuCwOUdIWZFQ6b2wh07dOCG1zBf0QoaMifn9RwajzPkhJ+Nwy+BD0WKQpDropMpY6xzZDJrYB7kAH6A7VVNXg2eT7JuI5iK49jMG5g5Vtgi8w07+QnFeSw==; 5:yeKGN1ZiXrxY59D6KxZrJF/AL46SQnB5hW6f9r2ANuvBA3OlyL1Ef9joJd0Ehhr9S01DjvRgCxEGK2T90tY/EkDGk4AlPo6TTbGMhd0XcUchD+1RrKtjPlx6MGO+bJmfkYxxb7GpGpilj+V+xsBNCb+aiCGTslIBVyIbMrlfaWQ=; 7:cZPZFNXVf7LPhrGMdfdA5hedK1x8zEn23G+Ly3LbUKWpEaM9kYhvOmvhVQ7XZ75hr7dcLkVVJEJKO/rS7RH1n0sr6GJ2XIQGMXKE6ddKQvXqLjknRoRQdrb43pg9EPQrhgmZH/2hCrgDSmK/KIolpfcdRX9vKhKevyqxNOEHqvmqAIqW4/5SxfuGowWSTeOX3VObNyMNsR3AFqAu3luF8NmwLeWZdYb+AHjIUg1NKrsRby77Hux4y1GeH/Bym8c2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 09:48:37.3479 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a36ce0a7-3feb-4e93-cb4c-08d61c82bf88 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB5005 Subject: Re: [dpdk-dev] [PATCH v3 3/3] doc: add cross compile part for sample applications X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2018 09:48:43 -0000 -----Original Message----- > Date: Mon, 17 Sep 2018 15:47:35 +0800 > From: Gavin Hu > To: dev@dpdk.org > CC: gavin.hu@arm.com, Honnappa.Nagarahalli@arm.com, steve.capper@arm.com, > Ola.Liljedahl@arm.com, jerin.jacob@caviumnetworks.com, nd@arm.com, > stable@dpdk.org > Subject: [PATCH v3 3/3] doc: add cross compile part for sample applications > X-Mailer: git-send-email 2.11.0 > > External Email > > Fixes: 7cacb05655 ("doc: add generic build instructions for sample apps") > Cc: stable@dpdk.org > > Signed-off-by: Gavin Hu > Reviewed-by: Honnappa Nagarahalli > --- > doc/guides/sample_app_ug/compiling.rst | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/doc/guides/sample_app_ug/compiling.rst b/doc/guides/sample_app_ug/compiling.rst > index a2d75ed22..6f04743c8 100644 > --- a/doc/guides/sample_app_ug/compiling.rst > +++ b/doc/guides/sample_app_ug/compiling.rst > @@ -9,7 +9,6 @@ This section explains how to compile the DPDK sample applications. > To compile all the sample applications > -------------------------------------- > > - > Set the path to DPDK source code if its not set: > > .. code-block:: console > @@ -93,3 +92,17 @@ Build the application: > > export RTE_TARGET=build > make > + > +To cross compile the sample application(s) > +------------------------------------------ > + > +For cross compiling the sample application(s), please append 'CROSS=$(CROSS_COMPILER_PREFIX)' to the 'make' command. > +In example of AARCH64 cross compiling: > + > + .. code-block:: console > + > + export RTE_TARGET=build > + export RTE_SDK=/path/to/rte_sdk > + make -C examples CROSS=aarch64-linux-gnu- > + or > + make CROSS=aarch64-linux-gnu- It should be make -C examples/l3fwd CROSS=aarch64-linux-gnu-, Right? as without giving directory it builds the SDK only. > -- > 2.11.0 >