1 # Compute powerpc-specific values
3 CT_DoArchTupleValues () {
4 # The architecture part of the tuple, override only for 64-bit
5 if [ "${CT_ARCH_64}" = "y" ]; then
6 CT_TARGET_ARCH="powerpc64"
10 case "${CT_ARCH_powerpc_ABI}" in
12 eabi) CT_TARGET_SYS="eabi";;
15 glibc|eglibc) CT_TARGET_SYS="gnuspe";;
16 *) CT_TARGET_SYS="spe";
21 # Add extra flags for SPE if needed
22 if [ "${CT_ARCH_powerpc_ABI_SPE}" = "y" ]; then
23 CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
24 CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
25 CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"