[v2,2/4] doc: arm64 cross build binary names update

Message ID 1638875109-5544-3-git-send-email-juraj.linkes@pantheon.tech (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series arm64 cross docs improvements/fixes |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Juraj Linkeš Dec. 7, 2021, 11:05 a.m. UTC
  The newer version have an extra -none- in the name.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
 doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
  

Comments

Ruifeng Wang Dec. 15, 2021, 8:02 a.m. UTC | #1
> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: Tuesday, December 7, 2021 7:05 PM
> To: thomas@monjalon.net; david.marchand@redhat.com; Honnappa
> Nagarahalli <Honnappa.Nagarahalli@arm.com>; Ruifeng Wang
> <Ruifeng.Wang@arm.com>; ferruh.yigit@intel.com; jerinjacobk@gmail.com
> Cc: dev@dpdk.org; Juraj Linkeš <juraj.linkes@pantheon.tech>
> Subject: [PATCH v2 2/4] doc: arm64 cross build binary names update
> 
> The newer version have an extra -none- in the name.
> 
> Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
> ---
>  doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> index 51075bd4a9..af159bbf93 100644
> --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> @@ -130,6 +130,12 @@ Copy the NUMA header files and lib to the cross
> compiler's directories:
>  Cross Compiling DPDK with GNU toolchain using Meson
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> +.. note::
> +
> +   The names of gcc binaries in cross files differ from the downloaded
> +   ones, which have an extra "-none-" in their name. Please modify the cross
> +   file binaries accordingly when using the downloaded cross compilers.
> +
>  To cross-compile DPDK on a desired target machine we can use the following
>  command::
> 
> @@ -137,12 +143,13 @@ command::
>     ninja -C cross-build
> 
>  For example if the target machine is aarch64 we can use the following
> -command::
> +command, provided the cross file has been modified accordingly::
> 
>     meson aarch64-build-gcc --cross-file config/arm/arm64_armv8_linux_gcc
>     ninja -C aarch64-build-gcc
> 
> -If the target machine is aarch32 we can use the following command::
> +If the target machine is aarch32 we can use the following command,
> +provided the cross file has been modified accordingly::
> 
>     meson aarch32-build --cross-file config/arm/arm32_armv8_linux_gcc
>     ninja -C aarch32-build
> --
> 2.20.1
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
  

Patch

diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
index 51075bd4a9..af159bbf93 100644
--- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
@@ -130,6 +130,12 @@  Copy the NUMA header files and lib to the cross compiler's directories:
 Cross Compiling DPDK with GNU toolchain using Meson
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+.. note::
+
+   The names of gcc binaries in cross files differ from the downloaded
+   ones, which have an extra "-none-" in their name. Please modify the cross
+   file binaries accordingly when using the downloaded cross compilers.
+
 To cross-compile DPDK on a desired target machine we can use the following
 command::
 
@@ -137,12 +143,13 @@  command::
    ninja -C cross-build
 
 For example if the target machine is aarch64 we can use the following
-command::
+command, provided the cross file has been modified accordingly::
 
    meson aarch64-build-gcc --cross-file config/arm/arm64_armv8_linux_gcc
    ninja -C aarch64-build-gcc
 
-If the target machine is aarch32 we can use the following command::
+If the target machine is aarch32 we can use the following command, provided
+the cross file has been modified accordingly::
 
    meson aarch32-build --cross-file config/arm/arm32_armv8_linux_gcc
    ninja -C aarch32-build