toolchain-external: update ARMeb musl dependency
PATCH 1/2 toolchain-external: update ARMeb musl dependency
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.
--- toolchain/toolchain-external/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/toolchain-external/Config.in +1 -1
@@ -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 || \
Signature · 1 line
2.7.4
PATCH 2/2 toolchain-external: musl toolchain on ARM is for MMU-systems only
Now that we have introduced the support for ARM no-MMU in Buildroot, we need to update the dependencies of the musl external toolchain. It supports only MMU-capable ARM cores, so it must depend on BR2_USE_MMU, at least for the ARM platforms.
--- toolchain/toolchain-external/Config.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
toolchain/toolchain-external/Config.in +4 -4
@@ -586,10 +586,10 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 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_ARM_CPU_ARMV7A) || BR2_i386 || \ - (BR2_mips && !BR2_SOFT_FLOAT) || \ + depends on (BR2_arm && BR2_ARM_EABI && BR2_USE_MMU) || \ + (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4 && BR2_USE_MMU) || \ + (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A && BR2_USE_MMU) || \ + BR2_i386 || (BR2_mips && !BR2_SOFT_FLOAT) || \ BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \ BR2_sh4 || BR2_sh4eb || \ BR2_x86_64
Signature · 1 line
2.7.4
PATCH 2/2 toolchain-external: musl toolchain on ARM is for MMU-systems only
Quoted 16 lines · Thomas Petazzoni
Now that we have introduced the support for ARM no-MMU in Buildroot, we need to update the dependencies of the musl external toolchain. It supports only MMU-capable ARM cores, so it must depend on
BR2_USE_MMU, at least for the ARM platforms.Signed-off-by Thomas Petazzoni <[email protected]>--- toolchain/toolchain-external/Config.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)toolchain/toolchain-external/Config.in +0
-0@@ -586,10 +586,10 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
toolchain/toolchain-external/Config.in config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 · line 592
Quoted 10 lines
toolchain/toolchain-external/Config.in +4
-4config 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_ARM_CPU_ARMV7A) || BR2_i386 || \ - (BR2_mips && !BR2_SOFT_FLOAT) || \ + depends on (BR2_arm && BR2_ARM_EABI && BR2_USE_MMU) || \ + (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4 && BR2_USE_MMU) || \ + (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A && BR2_USE_MMU) || \ + BR2_i386 || (BR2_mips && !BR2_SOFT_FLOAT) || \
Quoted 10 lines
toolchain/toolchain-external/Config.in +0
-1BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \ BR2_sh4 || BR2_sh4eb || \ BR2_x86_64 --2.7.4
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 8 lines
Matthew L Weber / Pr Software Engineer Airborne Information Systems / Security Systems and Software / Secure Platforms MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA www.rockwellcollins.com Note: Any Export License Required Information and License Restricted Third Party Intellectual Property (TPIP) content must be encrypted and sent to matthew.weber at corp.rockwellcollins.com.
PATCH 2/2 toolchain-external: musl toolchain on ARM is for MMU-systems only
In reply to Thomas PetazzoniQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Now that we have introduced the support for ARM no-MMU in Buildroot, we need to update the dependencies of the musl external toolchain. It supports only MMU-capable ARM cores, so it must depend on
BR2_USE_MMU, at least for the ARM platforms.Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 toolchain-external: update ARMeb musl dependency
In reply to Thomas PetazzoniQuoted 19 lines · Thomas Petazzoni
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 <[email protected]>--- toolchain/toolchain-external/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)toolchain/toolchain-external/Config.in +0
-0
toolchain/toolchain-external/Config.in config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS · line 591
Quoted 5 lines
toolchain/toolchain-external/Config.in +1
-1@@ -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 || \
Quoted 10 lines
toolchain/toolchain-external/Config.in +0
-1(BR2_mips && !BR2_SOFT_FLOAT) || \ BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \ BR2_sh4 || BR2_sh4eb || \ --2.7.4
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 8 lines
Matthew L Weber / Pr Software Engineer Airborne Information Systems / Security Systems and Software / Secure Platforms MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA www.rockwellcollins.com Note: Any Export License Required Information and License Restricted Third Party Intellectual Property (TPIP) content must be encrypted and sent to matthew.weber at corp.rockwellcollins.com.
PATCH 1/2 toolchain-external: update ARMeb musl dependency
In reply to Thomas PetazzoniQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
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.
Quoted 6 lines
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 <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard