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"
9 # Add spe in the tuple if needed
10 case "${CT_LIBC},${CT_ARCH_POWERPC_SPE}" in
11 glibc,|eglibc,) CT_TARGET_SYS=gnu;;
12 glibc,y|eglibc,y) CT_TARGET_SYS=gnuspe;;
15 # Add extra flags for SPE if needed
16 if [ "${CT_ARCH_POWERPC_SPE}" = "y" ]; then
17 CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
18 CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
19 CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"