> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Wednesday, May 18, 2022 11:03 PM
> To: [email protected]; Nithin Dabilpuram <[email protected]>; Kiran
> Kumar K <[email protected]>; Sunil Kumar Kori
> <[email protected]>; Satha Rao <[email protected]>
> Cc: [email protected]; [email protected];
> [email protected]; Ruifeng Wang <[email protected]>;
> [email protected]
> Subject: [dpdk-dev] [PATCH] doc: update cnxk native compilation steps
>
> From: Jerin Jacob <[email protected]>
>
> Update cnxk platform documentation to use -Dplatform meson option for
> native builds.
>
> Signed-off-by: Jerin Jacob <[email protected]>
> ---
> doc/guides/platform/cnxk.rst | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/doc/guides/platform/cnxk.rst b/doc/guides/platform/cnxk.rst
> index 3dee725ac5..03190bdb14 100644
> --- a/doc/guides/platform/cnxk.rst
> +++ b/doc/guides/platform/cnxk.rst
> @@ -578,9 +578,20 @@ an x86 based platform.
> Native Compilation
> ~~~~~~~~~~~~~~~~~~
>
> +Refer to :doc:`../linux_gsg/build_dpdk` for generic native builds.
> +
> +CN9K:
> +
> +.. code-block:: console
> +
> + meson -Dplatform=cn9k build
> + ninja -C build
> +
> +CN10K:
> +
> .. code-block:: console
>
> - meson build
> + meson -Dplatform=cn10k build
> ninja -C build
>
> Cross Compilation
> --
> 2.36.1
Reviewed-by: Ruifeng Wang <[email protected]>