[1/2] doc: update octeontx2 platform guide
Checks
Commit Message
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@marvell.com>
---
doc/guides/platform/octeontx2.rst | 29 +++++------------------------
1 file changed, 5 insertions(+), 24 deletions(-)
Comments
On Fri, Jun 26, 2020 at 9:26 PM Harman Kalra <hkalra@marvell.com> wrote:
>
> Removing make build instructions from the platform guide
> as building DPDK sources using 'make' will be deprecated
> in future releases.
Please change the commit message as the fact that 'make' is removed now.
And please add the Fix tag to make the removal commit.
With the above change:
Acked-by: Jerin Jacob <jerinj@marvell.com>
>
> Signed-off-by: Harman Kalra <hkalra@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
>
@@ -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
^^^^^^^^^^^