Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/44808/?format=api
http://patches.dpdk.org/api/patches/44808/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180917104942.14967-1-gavin.hu@arm.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20180917104942.14967-1-gavin.hu@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180917104942.14967-1-gavin.hu@arm.com", "date": "2018-09-17T10:49:42", "name": "[v4] doc: add cross compile part for sample applications", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "baf7ea1ad79e2d784cdfc701c0e24c023dc3e950", "submitter": { "id": 1018, "url": "http://patches.dpdk.org/api/people/1018/?format=api", "name": "Gavin Hu", "email": "gavin.hu@arm.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180917104942.14967-1-gavin.hu@arm.com/mbox/", "series": [ { "id": 1353, "url": "http://patches.dpdk.org/api/series/1353/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1353", "date": "2018-09-17T10:49:42", "name": "[v4] doc: add cross compile part for sample applications", "version": 4, "mbox": "http://patches.dpdk.org/series/1353/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/44808/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/44808/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 265E82BF7;\n\tMon, 17 Sep 2018 12:50:03 +0200 (CEST)", "from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 686D72BE3;\n\tMon, 17 Sep 2018 12:50:02 +0200 (CEST)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 470F380D;\n\tMon, 17 Sep 2018 03:50:01 -0700 (PDT)", "from net-debian.shanghai.arm.com (net-debian.shanghai.arm.com\n\t[10.169.36.53])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t4DFF53F5BD; Mon, 17 Sep 2018 03:50:00 -0700 (PDT)" ], "From": "Gavin Hu <gavin.hu@arm.com>", "To": "dev@dpdk.org", "Cc": "gavin.hu@arm.com, Honnappa.Nagarahalli@arm.com,\n\tjerin.jacob@caviumnetworks.com, stable@dpdk.org", "Date": "Mon, 17 Sep 2018 18:49:42 +0800", "Message-Id": "<20180917104942.14967-1-gavin.hu@arm.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20180917074735.28161-3-gavin.hu@arm.com>", "References": "<20180917074735.28161-3-gavin.hu@arm.com>", "Subject": "[dpdk-dev] [PATCH v4] doc: add cross compile part for sample\n\tapplications", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Fixes: 7cacb05655 (\"doc: add generic build instructions for sample apps\")\nCc: stable@dpdk.org\n\nSigned-off-by: Gavin Hu <gavin.hu@arm.com>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n---\n doc/guides/sample_app_ug/compiling.rst | 16 +++++++++++++++-\n 1 file changed, 15 insertions(+), 1 deletion(-)", "diff": "diff --git a/doc/guides/sample_app_ug/compiling.rst b/doc/guides/sample_app_ug/compiling.rst\nindex a2d75ed22..f6b31fc7b 100644\n--- a/doc/guides/sample_app_ug/compiling.rst\n+++ b/doc/guides/sample_app_ug/compiling.rst\n@@ -9,7 +9,6 @@ This section explains how to compile the DPDK sample applications.\n To compile all the sample applications\n --------------------------------------\n \n-\n Set the path to DPDK source code if its not set:\n \n .. code-block:: console\n@@ -93,3 +92,18 @@ Build the application:\n \n export RTE_TARGET=build\n make\n+\n+To cross compile the sample application(s)\n+------------------------------------------\n+\n+For cross compiling the sample application(s), please append 'CROSS=$(CROSS_COMPILER_PREFIX)' to the 'make' command.\n+In example of AARCH64 cross compiling:\n+\n+ .. code-block:: console\n+\n+ export RTE_TARGET=build\n+ export RTE_SDK=/path/to/rte_sdk\n+ make -C examples CROSS=aarch64-linux-gnu-\n+ or\n+\t\tcd $(pwd)/examples/<example_app>\n+ make CROSS=aarch64-linux-gnu-\n", "prefixes": [ "v4" ] }{ "id": 44808, "url": "