From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 7D1D41B4B7 for ; Thu, 29 Nov 2018 14:23:56 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DD23780F9C; Thu, 29 Nov 2018 13:23:55 +0000 (UTC) Received: from ktraynor.remote.csb (ovpn-117-230.ams2.redhat.com [10.36.117.230]) by smtp.corp.redhat.com (Postfix) with ESMTP id 501F91001F50; Thu, 29 Nov 2018 13:23:54 +0000 (UTC) From: Kevin Traynor To: Gavin Hu Cc: Honnappa Nagarahalli , dpdk stable Date: Thu, 29 Nov 2018 13:21:06 +0000 Message-Id: <20181129132128.7609-66-ktraynor@redhat.com> In-Reply-To: <20181129132128.7609-1-ktraynor@redhat.com> References: <20181129132128.7609-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 29 Nov 2018 13:23:55 +0000 (UTC) Subject: [dpdk-stable] patch 'doc: add cross-compilation in sample apps guide' has been queued to stable release 18.08.1 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: Thu, 29 Nov 2018 13:23:57 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/08/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From 9fad3ab1be7d63767f34ff5d5046c4761f42fae0 Mon Sep 17 00:00:00 2001 From: Gavin Hu Date: Mon, 17 Sep 2018 10:13:23 +0800 Subject: [PATCH] doc: add cross-compilation in sample apps guide [ upstream commit f00d0d5fb652504ad6af2ab1a8b146b1cb86fe38 ] Fixes: 7cacb05655 ("doc: add generic build instructions for sample apps") 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 @@ -10,5 +10,4 @@ To compile all the sample applications -------------------------------------- - Set the path to DPDK source code if its not set: @@ -94,2 +93,16 @@ 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- -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-29 13:11:36.691902864 +0000 +++ 0065-doc-add-cross-compilation-in-sample-apps-guide.patch 2018-11-29 13:11:34.000000000 +0000 @@ -1,10 +1,11 @@ -From f00d0d5fb652504ad6af2ab1a8b146b1cb86fe38 Mon Sep 17 00:00:00 2001 +From 9fad3ab1be7d63767f34ff5d5046c4761f42fae0 Mon Sep 17 00:00:00 2001 From: Gavin Hu Date: Mon, 17 Sep 2018 10:13:23 +0800 Subject: [PATCH] doc: add cross-compilation in sample apps guide +[ upstream commit f00d0d5fb652504ad6af2ab1a8b146b1cb86fe38 ] + Fixes: 7cacb05655 ("doc: add generic build instructions for sample apps") -Cc: stable@dpdk.org Signed-off-by: Gavin Hu Reviewed-by: Honnappa Nagarahalli