rustc: disable for ARMV7A with EABI
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Mon, 26 Feb 2018 20:04:21 +0000 (21:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 26 Feb 2018 22:42:56 +0000 (23:42 +0100)
The Rust project does not support armv7a EABI, only EABIHF [1]. So
disable rustc for this ARM variant.

Fixes:

- http://autobuild.buildroot.net/results/51c98ca5486e7e83725ababa437cbb8204ceb66b/

[1] https://forge.rust-lang.org/platform-support.html

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/rustc/Config.in.host

index bdbe488f48b67ffc853ab2afed7e2e96a5f1a32d..1c79eededcb2fb3c3aa10d0972f87eda427c13d9 100644 (file)
@@ -5,7 +5,8 @@ config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
        default y if BR2_i386
        default y if BR2_x86_64
        default y if BR2_aarch64
-       default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
+       default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 \
+               && !(BR2_ARM_CPU_ARMV7A && BR2_ARM_EABI)
        default y if BR2_powerpc || BR2_powerpc64
        default y if (BR2_mips || BR2_mipsel) && !BR2_MIPS_CPU_MIPS32R6
        default y if (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_CPU_MIPS64R6 \