[dpdk-dev] [PATCH 1/2] doc: update octeontx2 platform guide
Harman Kalra
hkalra at marvell.com
Fri Jun 26 17:56:04 CEST 2020
Removing make build instructions from the platform guide
as building DPDK sources using 'make' will be deprecated
in future releases.
Signed-off-by: Harman Kalra <hkalra at marvell.com>
---
doc/guides/platform/octeontx2.rst | 29 +++++------------------------
1 file changed, 5 insertions(+), 24 deletions(-)
diff --git a/doc/guides/platform/octeontx2.rst b/doc/guides/platform/octeontx2.rst
index 13255eec5..7dd695175 100644
--- a/doc/guides/platform/octeontx2.rst
+++ b/doc/guides/platform/octeontx2.rst
@@ -498,30 +498,19 @@ an x86 based platform.
Native Compilation
~~~~~~~~~~~~~~~~~~
-make build
-^^^^^^^^^^
+meson build
+^^^^^^^^^^^
.. code-block:: console
- make config T=arm64-octeontx2-linux-gcc
- make -j
+ meson build
+ ninja -C build
The example applications can be compiled using the following:
.. code-block:: console
- cd <dpdk directory>
- export RTE_SDK=$PWD
- export RTE_TARGET=build
- cd examples/<application>
- make -j
-
-meson build
-^^^^^^^^^^^
-
-.. code-block:: console
-
- meson build
+ meson build -Dexamples=<application>
ninja -C build
Cross Compilation
@@ -529,14 +518,6 @@ Cross Compilation
Refer to :doc:`../linux_gsg/cross_build_dpdk_for_arm64` for generic arm64 details.
-make build
-^^^^^^^^^^
-
-.. code-block:: console
-
- make config T=arm64-octeontx2-linux-gcc
- make -j CROSS=aarch64-marvell-linux-gnu- CONFIG_RTE_KNI_KMOD=n
-
meson build
^^^^^^^^^^^
--
2.18.0
More information about the dev
mailing list