aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2017-07-09 11:29:58 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-07-19 22:14:46 +0200
commit177b7537633c6c99c0ca752bb0fe70afcd9300d2 (patch)
treee1d4692cf4bff4c9508dbfa0a0715b85b2837e1d
parent7f8e78682748b1880827814da1a84b1b535f4af7 (diff)
downloadbuildroot-177b7537633c6c99c0ca752bb0fe70afcd9300d2.tar.gz
buildroot-177b7537633c6c99c0ca752bb0fe70afcd9300d2.tar.bz2
arch/arm: fix -mcpu default values for AArch64
We have to specify the -mcpu value, even in 64-bit mode. For AArch64, +fp and +simd are the default, so they are totally useless. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (cherry picked from commit 9d06e91df85a2f02dd10dcac6a37a19da11b13aa) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--arch/Config.in.arm12
1 files changed, 3 insertions, 9 deletions
diff --git a/arch/Config.in.arm b/arch/Config.in.arm
index b1817ed568..3cafe21700 100644
--- a/arch/Config.in.arm
+++ b/arch/Config.in.arm
@@ -534,15 +534,9 @@ config BR2_GCC_TARGET_CPU
default "strongarm" if BR2_strongarm
default "xscale" if BR2_xscale
default "iwmmxt" if BR2_iwmmxt
- default "cortex-a53" if (BR2_cortex_a53 && !BR2_ARCH_IS_64)
- default "cortex-a53+fp" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
- default "cortex-a53+fp+simd" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
- default "cortex-a57" if (BR2_cortex_a57 && !BR2_ARCH_IS_64)
- default "cortex-a57+fp" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
- default "cortex-a57+fp+simd" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
- default "cortex-a72" if (BR2_cortex_a72 && !BR2_ARCH_IS_64)
- default "cortex-a72+fp" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
- default "cortex-a72+fp+simd" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
+ default "cortex-a53" if BR2_cortex_a53
+ default "cortex-a57" if BR2_cortex_a57
+ default "cortex-a72" if BR2_cortex_a72
config BR2_GCC_TARGET_ABI
default "aapcs-linux" if BR2_arm || BR2_armeb