|
@@ -284,10 +284,10 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
|
|
from Mentor Graphics. It uses gcc 5.2, binutils 2.25.51,
|
|
|
glibc 2.22, gdb 7.10.50 and kernel headers 4.2.
|
|
|
|
|
|
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC
|
|
|
- bool "Sourcery CodeBench PowerPC 2012.03"
|
|
|
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC_E500V2
|
|
|
+ bool "Sourcery CodeBench PowerPC 2012.03 (e500v2 only)"
|
|
|
depends on BR2_powerpc
|
|
|
- depends on BR2_powerpc_SPE
|
|
|
+ depends on BR2_powerpc_8548 # e500v2 support only
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
@@ -303,6 +303,39 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC
|
|
|
support for the following variants:
|
|
|
- e500v2 glibc, SPE, 32 bits
|
|
|
|
|
|
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC
|
|
|
+ bool "Sourcery CodeBench PowerPC 2011.03"
|
|
|
+ depends on BR2_powerpc
|
|
|
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
|
|
+ depends on !BR2_STATIC_LIBS
|
|
|
+ select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
|
|
+ select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
+ select BR2_INSTALL_LIBSTDCPP
|
|
|
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
|
|
+ # kernel headers: 2.6.38
|
|
|
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
|
|
+ help
|
|
|
+ Sourcery CodeBench toolchain for the PowerPC architecture,
|
|
|
+ from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
|
|
|
+ glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
|
|
|
+ support for the following variants:
|
|
|
+ - 603 glibc, 32 bits
|
|
|
+ Select a generic PowerPC core
|
|
|
+ Disable BR2_SOFT_FLOAT
|
|
|
+ - 603 soft float glibc, 32 bits
|
|
|
+ Select a generic PowerPC core
|
|
|
+ Enable BR2_SOFT_FLOAT
|
|
|
+ - e600 altivec glibc, 32 bits
|
|
|
+ Set BR2_TARGET_OPTIMIZATION to -te600
|
|
|
+ - e500v1 glibc, 32 bits
|
|
|
+ Set BR2_TARGET_OPTIMIZATION to -te500v1
|
|
|
+ - e500v2 glibc, 32 bits
|
|
|
+ Set BR2_TARGET_OPTIMIZATION to -te500v2
|
|
|
+ - e500mc glibc, 32 bits
|
|
|
+ Set BR2_TARGET_OPTIMIZATION to -te500mc
|
|
|
+ - 970 glibc hard-float, 64 bits
|
|
|
+ Set BR2_TARGET_OPTIMIZATION to -m64
|
|
|
+
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
|
|
|
bool "Sourcery CodeBench SH 2012.09"
|
|
|
depends on BR2_sh4a || BR2_sh4aeb
|
|
@@ -552,7 +585,8 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
|
|
default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
|
|
|
default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
|
|
default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
|
|
- default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC
|
|
|
+ default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC
|
|
|
+ default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC_E500V2
|
|
|
default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
|
|
|
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
|
|
|
default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
|