[PATCH v4 2/2] config/arm: use common cpu arch for cross files
Thomas Monjalon
thomas at monjalon.net
Sun Feb 18 18:56:58 CET 2024
05/12/2023 04:52, Joyce Kong:
> The cpu info in some cross files is inconsistent with
> that in SoC flags. The mismatch doesn't cause any issue
> because the cpu field in the cross file takes no effect
> and machine_args in config/arm/meson.build actually works.
> Use a common one in cross files to remove any confusion.
>
> Reported-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Signed-off-by: Joyce Kong <joyce.kong at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
[...]
> --- a/config/arm/arm64_armada_linux_gcc
> +++ b/config/arm/arm64_armada_linux_gcc
> @@ -10,7 +10,7 @@ pcap-config = ''
> [host_machine]
> system = 'linux'
> cpu_family = 'aarch64'
> -cpu = 'armv8-a'
> +cpu = 'aarch64'
Why aarch64 here and below?
> --- a/config/arm/arm64_armv8_linux_clang_ubuntu
> +++ b/config/arm/arm64_armv8_linux_clang_ubuntu
> @@ -10,7 +10,7 @@ pkgconfig = 'aarch64-linux-gnu-pkg-config'
> [host_machine]
> system = 'linux'
> cpu_family = 'aarch64'
> -cpu = 'armv8-a'
> +cpu = 'auto'
[...]
> --- a/config/arm/arm64_hip10_linux_gcc
> +++ b/config/arm/arm64_hip10_linux_gcc
> @@ -9,7 +9,7 @@ pcap-config = ''
> [host_machine]
> system = 'linux'
> cpu_family = 'aarch64'
> -cpu = 'armv8-a'
> +cpu = 'aarch64'
More information about the dev
mailing list