toolchain-external: update ARMeb musl dependency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 28 Jul 2016 13:39:13 +0000 (15:39 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 28 Jul 2016 20:14:59 +0000 (22:14 +0200)
ARM big-endian is different from ARMv4/5/6 and ARMv7. Big-endian on
ARMv4/5/6 is BE-32 while big-endian on ARMv7 is BE-8, which are not
compatible.

Therefore, the musl big endian toolchain that is built for ARMv4
cannot work for ARMv7, it can only work for ARMv4/5/6.

This commit updates the musl toolchain dependency accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
toolchain/toolchain-external/Config.in

index 5edde24dcc3a17373fca70855a15c995fae46007..ee07ddb1de635e22a633de46328d06f22f089a43 100644 (file)
@@ -588,7 +588,7 @@ config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
        bool "Musl 1.1.12 toolchain"
        depends on (BR2_arm && BR2_ARM_EABI) || \
                (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4) || \
-               (BR2_armeb && BR2_ARM_EABI) || BR2_i386 || \
+               (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A) || BR2_i386 || \
                (BR2_mips && !BR2_SOFT_FLOAT) || \
                BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \
                BR2_sh4 || BR2_sh4eb || \