From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50040.outbound.protection.outlook.com [40.107.5.40]) by dpdk.org (Postfix) with ESMTP id 7F6A119F5; Mon, 17 Sep 2018 12:28:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pwjqKSK7Cgm0dWSuVWpAHpNWpyFvqL0TQbCz30GKJxA=; b=iglgGu/6QvSSuQGbSwxoPrvo98iicgmS5c9xNePMByUnnFLSQQJvhKPY86q/onzEzEVq5iE8LqRlVnqz+YK7gDVHLoMRbwkoe9JQSmFiiZvkwAl56RWtLIPrN9gKpBFFrf9xuV8Dwf/jhGLBQP2IsL0IDkoaBr42rmvmx5TEv7Y= Received: from VI1PR08MB3167.eurprd08.prod.outlook.com (52.133.15.142) by VI1PR08MB3456.eurprd08.prod.outlook.com (20.177.59.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 17 Sep 2018 10:28:58 +0000 Received: from VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::b91d:e285:4647:f3e8]) by VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::b91d:e285:4647:f3e8%2]) with mapi id 15.20.1143.017; Mon, 17 Sep 2018 10:28:58 +0000 From: "Gavin Hu (Arm Technology China)" To: Jerin Jacob CC: "dev@dpdk.org" , Honnappa Nagarahalli , Steve Capper , Ola Liljedahl , nd , "stable@dpdk.org" Thread-Topic: [PATCH v3 3/3] doc: add cross compile part for sample applications Thread-Index: AQHUTlq9YwDRvl2P8EuoFvBFSTtxyKT0Om2AgAAK+lA= Date: Mon, 17 Sep 2018 10:28:57 +0000 Message-ID: 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> In-Reply-To: <20180917094819.GA3140@jerin> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR08MB3456; 6:fXNnoo+NR/aSnT0Y/BfjT141zIdL8QPQagZLQtxOo+4HfQtqZPvPbqupUNPlHViVePKIMgmDxaf6q1FSFIfX2rgVeUTIliPfS+OMUXMzFynPz5lhUJagfXunVwy7KWUitfLbIBIdRAMCRXB47sEv6ai79md0rgDxn9CwZbpcwX9o19wE0bQbC+SZ30diZxgSxnjkVkUOF2wXs+yFSz2bTib4icsGvKtyOEvgOdKDRuutt48p3sE/UKRFIK5O8fmY4CKEVDb1ZHY4E0STDQp8e/vpi/n/fXgb/NPebZQx8CJyZP+3A1Hwgj1NDZET9ZY/NIcQlKaYDwr7YeWnNl4QAtkcs8XdgpjriyvMJHoZcXb56qUVBWf+EnKzM0I1aEqUjoq+9j/QZMA+Gx8kP28Gpf8t1Q6srK9VxAckLv69D3VwZrUHnF4sc2B+DvFo+Uva8bPfseiYDtt8PguZbgXZHg==; 5:953GLgyNbk36zIRQ5zKuBzLUndABzuxJ77dEizs22LL1sK0SalmOkHmzV5dpSzvOWcS7TEo+Qo3LjjoOuCypuC60qmbgv5b4vMIzmiTsQUBUAotj7mbhDA/7kLAWJoyEfDA1y/udC2NmbsZqJkPVzdX5LdkxEtBmpr7/owKAqV0=; 7:lmvJUrMlyuRlxYaYQPKVzN6qbUSsSDPQ7brF4s0lvHReT27GaW0/BqFWjnOkvdacAHhLatA5o95pnyY5/pRD0r53/xOw6Mr1wwwEmNQp9EsgDy5pSfIZJk7oQMEgQxWOMG1C9PPPA+i/boyLh50t1lz2bvpLm1J0CKAtoeUku5m+bNlNibw582xQhBO/tuckQ82quGuOxjYUg2iTxnMxJOQasT/iLwe1AtWT+BOfXO2uTVPLV4qCK0uFJScigTnB x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: f6d7ed7c-3468-49b4-c545-08d61c88608b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR08MB3456; x-ms-traffictypediagnostic: VI1PR08MB3456: nodisclaimer: True 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)(5005006)(8121501046)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699050); SRVR:VI1PR08MB3456; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB3456; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(366004)(346002)(396003)(39860400002)(13464003)(199004)(189003)(6246003)(6916009)(2900100001)(5660300001)(93886005)(8936002)(6116002)(106356001)(3846002)(486006)(4326008)(446003)(316002)(97736004)(54906003)(14444005)(476003)(256004)(11346002)(86362001)(186003)(2906002)(81156014)(81166006)(53546011)(102836004)(8676002)(26005)(7696005)(33656002)(6506007)(68736007)(229853002)(478600001)(14454004)(25786009)(72206003)(5250100002)(53936002)(6436002)(305945005)(55016002)(105586002)(76176011)(9686003)(66066001)(74316002)(7736002)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3456; H:VI1PR08MB3167.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: meko73QIYkrDwCRuaf4wi4TLFRxDpFBalzRMr0/VGKFEMclFjLVFDS6SlnKKymB58xGaL+QlUbdygG4wgr8D7H7FE5W8JwewMrfo199va+MzuIgltQ10vXfQQdSHIzctGHCoqhYnyuZK1wlYVYN9ZCntA+94UN5hGQ8Uh8Q/5OPX9O+g9ZLIscP3wg2weboUYCT1V3N/X21TIDO7Wh2GKrzfP4ld7Oo/8fqI3/+jRBMtsesB7j+3jdpZyymBVBBuIKPURVf3SjMusCTeY3CfjscRcsH4Z/SMyrjOshm3mvKLFVOjcpOaWDWlNtK4QXjHP/c/32UXkN4l6mGYB2rSBe7nzwyhTjLtmdpNIVff0iE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6d7ed7c-3468-49b4-c545-08d61c88608b X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 10:28:57.9275 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3456 Subject: Re: [dpdk-stable] [PATCH v3 3/3] doc: add cross compile part for sample applications 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: , X-List-Received-Date: Mon, 17 Sep 2018 10:28:59 -0000 > -----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 >=20 > -----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=3Dbuild > > make > > + > > +To cross compile the sample application(s) > > +------------------------------------------ > > + > > +For cross compiling the sample application(s), please append > 'CROSS=3D$(CROSS_COMPILER_PREFIX)' to the 'make' command. > > +In example of AARCH64 cross compiling: > > + > > + .. code-block:: console > > + > > + export RTE_TARGET=3Dbuild > > + export RTE_SDK=3D/path/to/rte_sdk > > + make -C examples CROSS=3Daarch64-linux-gnu- > > + or > > + make CROSS=3Daarch64-linux-gnu- >=20 > It should be make -C examples/l3fwd CROSS=3Daarch64-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.=20 >=20 > > -- > > 2.11.0 > >