From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-eopbgr730064.outbound.protection.outlook.com [40.107.73.64]) by dpdk.org (Postfix) with ESMTP id A731625D9; Mon, 17 Sep 2018 12:35:05 +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=1wzo0pZC7t7BCiyMDquLLtX3Ke8ph7aqy45R8SsaEH4=; b=QkfH5A+l5megGdTmmGojF3Y4bjMSmqrA5IjlZq0z6wTwhrLwQLP6BEvZLQnd1dVz558fzLa3C/H56zcAaCzrJTDM7aSavJwxI8NKUGniei+7iDqVFqTOh6H7jhT/bpOqdNyqjdHXn7yhJkIT7PdAaGqA1YrHa2ZKXwpuO5MSbTk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by BYAPR07MB5000.namprd07.prod.outlook.com (2603:10b6:a03:5b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.15; Mon, 17 Sep 2018 10:35:00 +0000 Date: Mon, 17 Sep 2018 16:04:40 +0530 From: Jerin Jacob To: "Gavin Hu (Arm Technology China)" Cc: "dev@dpdk.org" , Honnappa Nagarahalli , Steve Capper , Ola Liljedahl , nd , "stable@dpdk.org" Message-ID: <20180917103438.GA7618@jerin> References: <20180807031943.5331-1-gavin.hu@arm.com> <20180917074735.28161-1-gavin.hu@arm.com> <20180917074735.28161-3-gavin.hu@arm.com> <20180917094819.GA3140@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BM1PR0101CA0006.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::16) To BYAPR07MB5000.namprd07.prod.outlook.com (2603:10b6:a03:5b::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 041eb144-f3d9-4775-5364-08d61c893af3 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB5000; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB5000; 3:2WODy2/GEmWhGirkC8YI4hfFajn20KZxbLUhAE/j0JnVc3r+X+Q/2nJWFBh/g613XvZmx0zPMvDj1Iu3jeNqpSM8Vz6vD2v/z5SBMr/6Vt1uSOyceeAHlMq281gyJ2nHQ7tA08BpxoyKXAg2fDtt97ySzldx+JhDONKgjqP1hpl7Vha9iEb4gKqIEoYQ1sKWVDV/g+jRCT0H/WVtcl7JuPjnkbhhL6pjTkGqgqzTmrAM76ek0TGL3GbwhhpDVQoy; 25:TSlhmJlNnDOOlEMovgLNSEr5bktL7BwoUkf6hsUKYD6IRywj1rgBzEu3O5WziZQGxrZWhCgSUO7nwzJ3FkEfhoWiQKt6qLjhHwlIfWx8PIANc0XOOpuRWage51pmwNkKhcleWNsm8vYizqdHtS/4Fo6aPiBIhtCi72CjCbE/Q1KNr2qHyv2HwNVpd0fX3w880jjeTFEU066lRlZDFSIjUYJI6LkDKLgNW31ZX/EhvWBsjXYn1NDEaPcFNWLHdz7dw4k2ff4Lj+aELh+JXYMl5JngJl/5k8wjBCVz8Ku0b0kagsJP+1Afi/Q0N5esFsJ5ULcPlHi8ag3JF+55hRE6JQ==; 31:YE6IC6Oq2ASWjrds8lqATVEMd0bel7s8/ch5nmfZGl+ARLccyaE2DoayzI/XFgACwLIAlh0AQmoRPzASAUoMwxr74YGlI/m82as8I6acf9GRXxSl/umsEbXVsiii1cEptMKme8THEKuVXMQH+mwRx6mVnW1/Sovp/itVkLSHqzoGDystghprXA6vI5vAiVvNKIzLRe4LPwF+cZ9GyZBjCbr87YaGg9vQ2hH/zJefpWg= X-MS-TrafficTypeDiagnostic: BYAPR07MB5000: X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB5000; 20:XagWnly11oCouXW5mwAjpDbOywW8BSBXKKzrJmryYOKrFbD3Lc6dT+3Hv447rGhnFwTaGpz78zXO1GxXzkbhDhXe3nOa2sAiaM/0mlNAS5ZFVQ7NF9TXExgDub6RDrkjDpuV+ppbWUA6aZMmbjqAw2VFGcgspyg/WjNCiRPii/MZFnLxxaTlxbomMwYIZ1D3PHSIwdEwSRrr5ZVyZwZrWnn2oGPDpAJ3nPaI3YxLLPdBk3JOnrVuOwf+KdEBEXZY4roknXgUnk4aFNV98WmSn4Glua9d3kQOPM4k1L0BB3asuH08opb8cdaQbbYo73e+fAvJjHeuZyHECQduNS09mhet/VfecC8s5f0LhCA3/C/nDvWW1z2oSedQcLdSKe/oCdqCk43no/U+KUqKY5gbC5Qn2BNxYTq4I0ZxgNfAganxEr3jFzf9CAPx7Vcu8fOnqHLK5SDaLgBUq7CEE+V+kJCyC5TlgCwSZ4H+RnZ0QfqSakTpAGv2tHwn/0EiNyiyb2Lz6+H887/3FZXm50mI7eUguqiegAEeNXJ7g4FEW/W8r1fa8aCbD/xQpe/DDiarZCIR9atvbcysPcwSfUshowQdTXoH/orCfb5vna2I0e4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(278428928389397)(163750095850); 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)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699050); SRVR:BYAPR07MB5000; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB5000; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB5000; 4:mmqXDlD4DWbiVDac15XI/vwe+zs7KKfzn3HsrAZTjv8JgrmiTSa2nzJtmYSRu17BRqbKPn3/oLCe926tAQlpLYkzHYv5DwrN2ogrmtHHcOx4/eHdWnmh2yDk7PQGl4JJi4cw4k/3ye3MZVOe5dyPN7cNkWa25S5BaGhL+ULCkyvv8ct7PzXNLxbaGLb87yu6UsuBTWLUBP80ftk5c+mtcsWM3Qp8adPAuSNwC4lA9ZifkozsOzeLBPgl+gxONrvoOyqE8fBPkQwCO2Fwn1Ym4xCUNz0Rdi4pF/mMaHkMUofqWxdeNJSIhGU3neowWS6vLPM2yeEMKGlv/uRnJk18Y8ihxqUj3J6VlLXS0/alsCV+deL5m0Xy95+FHa4fWrFg X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(366004)(39860400002)(136003)(376002)(396003)(13464003)(189003)(199004)(14444005)(54906003)(44832011)(33896004)(16586007)(486006)(76176011)(316002)(478600001)(33716001)(5660300001)(81156014)(476003)(956004)(81166006)(186003)(72206003)(6496006)(16526019)(52116002)(58126008)(97736004)(50466002)(2906002)(8676002)(7736002)(93886005)(6916009)(3846002)(53936002)(4326008)(55016002)(1076002)(9686003)(25786009)(26005)(11346002)(23726003)(53546011)(33656002)(106356001)(42882007)(6246003)(386003)(8936002)(68736007)(47776003)(6666003)(105586002)(229853002)(6116002)(66066001)(305945005)(446003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB5000; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BYAPR07MB5000; 23:Y8rWgH/GNv1neAw2Isc9BRdeQ1tRCfTHdm5cQcv/e?= =?us-ascii?Q?hcf852BTN91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PmXF7F?= =?us-ascii?Q?eYaSmazZKVVWL6aWtqm2Xm5kqvtKQsEtFy3fpW3tl/DzNwUNU/GTEzni6R6/?= =?us-ascii?Q?FzeKj7wVhIp15JF1uP2FMkaZ0RzxEKqUAlBh68poHo6JDueDygUPhfLjFqny?= =?us-ascii?Q?Vl59moEf6s6Qzp5uc9Vuxr4yL0CocXuhmKYXylqTHdVz6jyk3CImmjqfCBzS?= =?us-ascii?Q?SRSX/v2EKCOC+kqcXg1cZwmmc0yyxog0B8T632bfFNC4VMc+bO0NCUOxiUar?= =?us-ascii?Q?exnZmu3rt+zmHDQHFEVs5ebjazW8R/+LwvRIesSeOBirOkf4F4rnJVXFydj1?= =?us-ascii?Q?0QXPHRblXQP4YaePZRQonczsMUWen32oq6tKMXfjhOyNwAleG0/RJoEbhfU0?= =?us-ascii?Q?QJrd137ay7g0BT0RieHhgQ6jb+kMv9fKnRjx34W9BspMW8m+wmbkyTC1CCmM?= =?us-ascii?Q?h//mADojGH6JeFearAtxQ5uL4hSnERJAKu33abTqCDjd51n?= X-Microsoft-Antispam-Message-Info: UwUf5YSqMrIojono7qRE8i65J8EduuOAOkIpnZTtB9B15MwW9FeYAPR5TRIE5D0vN1+WdiuEI5p3fq5vE5bjHXKsgrmyqRQX4KJWdp07FLjSu/hdB0w959Gp7lNYyg1cEdRh1rPqKoMZOEexlctExtYPaDGLdlw58SnvCSLXTlexoqDf32/tRuGViMnimJy+2p0956YLDq3OW0npV7Ilck0Be8KlxQuxcM2qvmy4MUfbzMeuXe7UyJuIt+g6c/uHlktwTx0bq8GbNykQP2QH504dz9t5mRIfmO3Rd9v4/XLAnHzTOTVheqEu3PezpTh+BL4btFNySaeKcH3NDU7PppTixx96ciF8yuOMChUBfKQ= X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB5000; 6:PWlZoot8KDLF8MohGkfRzp8CG1qT/Cg8Q4d+9w5lALFogIYwpDEm+06tuPuAqkHxjRXOUwXgHZ7umhzb79b5OVVeYtPgMv1Q0sUdmEU0eJ6RbUyN/Re0JeHF6fwkdhKhIxNeGwjI3WfZW1RpTcK/5lLsQAVaRXC7pF2TUg7z8BzwqRCXaV3iJd7N1KIS79O2Fh/Zo1aLdIblEKxSBqhOzooHSkazy4ZdCEZ+jdj1Y5/B/H1m8/sYGnL2ejbgP0gR8fzKDfp7IiGnztoldsX7fWnYAl2AMI2cubLzdm8vkOPxjZK2Ggh+OGBknaa/1+vgU3me4o3WJXcBVh6ekanuCkBjQEBbWv4Ph/OJy44IiQrSaU9ZP5d2TzSiG4FKm8zLigWjO/opNPjiJWvZs1l0MKYyuYCaG68VElIcHRDU3gm70PBAlCtwYOM/aAVnhLZAc+CmDJTm2OvI9xGij3BPXg==; 5:MNHlonidGBNs6y4c3101jKTkFswgi+P/Ccg/CO2UVqnmXisiH5Edk643YXnMD4NfLCW1sb9Bz0sDcFkyzYgvkVPMymbej1LcO++ToGAhBBJ0Z5akVsf5ZGr1VqA9UBueHWR65A970V8C42lwOpKFJab4RdiUixCNCj6aeZeh2fQ=; 7:1rptxvFxgDIJDsA+N2oZH1bWmaLSXUPXyWwWU12ks3BUmhr0MmRfU7wHS6/ArMTXDCamFaEOK0hbfWekWKxO3PI/Q5FfvNDz0P5FHhABvQ2T8lvpRFA9E/TJ3CIGcDtEv387BoXsrVN0tw1RaxPi5iAl/mSX2paqZV9Y/c6nX+Y3ki0ji02bLI01dCw2ZA9zUFwvXFWWqmJQK2VajVDEPFjOFtsmuZs4b2VuTG/owFFetYhVnFu9WK6rtvzq14e/ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 10:35:00.6249 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 041eb144-f3d9-4775-5364-08d61c893af3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB5000 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 10:35:06 -0000 -----Original Message----- > Date: Mon, 17 Sep 2018 10:28:57 +0000 > From: "Gavin Hu (Arm Technology China)" > To: Jerin Jacob > CC: "dev@dpdk.org" , Honnappa Nagarahalli > , Steve Capper , Ola > Liljedahl , nd , "stable@dpdk.org" > > Subject: RE: [PATCH v3 3/3] doc: add cross compile part for sample > applications > > > -----Original Message----- > > From: Jerin Jacob > > Sent: Monday, September 17, 2018 5:48 PM > > To: Gavin Hu (Arm Technology China) > > Cc: dev@dpdk.org; Honnappa Nagarahalli > > ; Steve Capper > > ; Ola Liljedahl ; nd > > ; stable@dpdk.org > > Subject: Re: [PATCH v3 3/3] doc: add cross compile part for sample > > applications > > > > -----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. > > -C examples/l3fwd can be ignored if the $(pwd) is already in there. Yes. Since it mentioned as "or" it better to explicitly mentioned in it. i.e make -C examples CROSS=aarch64-linux-gnu- or cd $(pwd)/examples/ make CROSS=aarch64-linux-gnu- or make -C examples/ CROSS=aarch64-linux-gnu- > > > > > > -- > > > 2.11.0 > > >