5630257fcc
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
35 lines
845 B
ReStructuredText
35 lines
845 B
ReStructuredText
.. SPDX-License-Identifier: BSD-3-Clause
|
|
Copyright(c) 2010-2014 Intel Corporation.
|
|
|
|
Compiling the Application
|
|
=========================
|
|
|
|
The ``testpmd`` application is compiled as part of the main compilation of the DPDK libraries and tools.
|
|
Refer to the DPDK Getting Started Guides for details.
|
|
The basic compilation steps are:
|
|
|
|
#. Set the required environmental variables and go to the source directory:
|
|
|
|
.. code-block:: console
|
|
|
|
export RTE_SDK=/path/to/rte_sdk
|
|
cd $RTE_SDK
|
|
|
|
#. Set the compilation target. For example:
|
|
|
|
.. code-block:: console
|
|
|
|
export RTE_TARGET=x86_64-native-linuxapp-gcc
|
|
|
|
#. Build the application:
|
|
|
|
.. code-block:: console
|
|
|
|
make install T=$RTE_TARGET
|
|
|
|
The compiled application will be located at:
|
|
|
|
.. code-block:: console
|
|
|
|
$RTE_SDK/$RTE_TARGET/app/testpmd
|