arch/Config.in.arm: only enable BR2_ARM_CPU_HAS_ARM for ARMv8 in 32bit mode
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 7 Dec 2016 09:25:20 +0000 (10:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Dec 2016 21:32:14 +0000 (22:32 +0100)
Fixes:
http://autobuild.buildroot.net/results/5e6/5e67cc067a06f7364cde1a8393ea72608fe7fef1/

A number of packages use BR2_ARM_CPU_HAS_ARM to know if the target handles
classic A32 instructions, which is only true for ARMv8 cores when they are
running in 32bit mode.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in.arm

index 743f6ca361cd4f34f9f62104851e75d5961bf768..3c47bd70638bbe5352c8267c0ee01f656fadc7b6 100644 (file)
@@ -193,21 +193,21 @@ config BR2_cortex_a17
        depends on !BR2_ARCH_IS_64
 config BR2_cortex_a53
        bool "cortex-A53"
-       select BR2_ARM_CPU_HAS_ARM
+       select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_NEON
        select BR2_ARM_CPU_HAS_FP_ARMV8
        select BR2_ARM_CPU_ARMV8
        select BR2_ARCH_HAS_MMU_OPTIONAL
 config BR2_cortex_a57
        bool "cortex-A57"
-       select BR2_ARM_CPU_HAS_ARM
+       select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_NEON
        select BR2_ARM_CPU_HAS_FP_ARMV8
        select BR2_ARM_CPU_ARMV8
        select BR2_ARCH_HAS_MMU_OPTIONAL
 config BR2_cortex_a72
        bool "cortex-A72"
-       select BR2_ARM_CPU_HAS_ARM
+       select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_NEON
        select BR2_ARM_CPU_HAS_FP_ARMV8
        select BR2_ARM_CPU_ARMV8