summaryrefslogtreecommitdiff
path: root/doc/guides/sample_app_ug/tep_termination.rst
diff options
context:
space:
mode:
authorHerakliusz Lipiec <herakliusz.lipiec@intel.com>2017-10-25 16:50:59 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-10-27 01:23:53 +0200
commit7cacb05655397c0c50bcba89eb836d417bc78b69 (patch)
treefa2bad0cc78017c7e3baa037a902dc797f89f6e5 /doc/guides/sample_app_ug/tep_termination.rst
parent0acd8ed3330a629658e3864d78a6bd4b78de321e (diff)
downloaddpdk-7cacb05655397c0c50bcba89eb836d417bc78b69.zip
dpdk-7cacb05655397c0c50bcba89eb836d417bc78b69.tar.gz
dpdk-7cacb05655397c0c50bcba89eb836d417bc78b69.tar.xz
doc: add generic build instructions for sample apps
Moved duplicated, and occasionally outdated, doc sections from each of the sample app guides chapters to a common chapter at the start. This reduces the duplication in the docs and provides a single point of reference for compiling the sample apps. Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com> Signed-off-by: Marko Kovacevic <marko.kovacevic@intel.com>
Diffstat (limited to 'doc/guides/sample_app_ug/tep_termination.rst')
-rw-r--r--doc/guides/sample_app_ug/tep_termination.rst31
1 files changed, 4 insertions, 27 deletions
diff --git a/doc/guides/sample_app_ug/tep_termination.rst b/doc/guides/sample_app_ug/tep_termination.rst
index 087823b..04bf8a2 100644
--- a/doc/guides/sample_app_ug/tep_termination.rst
+++ b/doc/guides/sample_app_ug/tep_termination.rst
@@ -121,39 +121,16 @@ The example in this section have been validated with the following distributions
Compiling the Sample Code
-------------------------
-#. Compile vhost lib:
- To enable vhost, turn on vhost library in the configure file config/common_linuxapp.
+To enable vhost, turn on vhost library in the configure file
+``config/common_linuxapp``.
.. code-block:: console
CONFIG_RTE_LIBRTE_VHOST=y
-
-#. Go to the examples directory:
-
- .. code-block:: console
-
- export RTE_SDK=/path/to/rte_sdk
- cd ${RTE_SDK}/examples/tep_termination
-
-#. Set the target (a default target is used if not specified). For example:
-
- .. code-block:: console
-
- export RTE_TARGET=x86_64-native-linuxapp-gcc
-
- See the DPDK Getting Started Guide for possible RTE_TARGET values.
-
-#. Build the application:
-
- .. code-block:: console
-
- cd ${RTE_SDK}
- make config ${RTE_TARGET}
- make install ${RTE_TARGET}
- cd ${RTE_SDK}/examples/tep_termination
- make
+Then following the to compile the sample application shown in
+:doc:`compiling`.
Running the Sample Code
-----------------------