arch/powerpc/functions
changeset 898 fe3eda71a9d0
parent 897 900515add745
child 899 da93630960d1
     1.1 --- a/arch/powerpc/functions	Fri Oct 03 12:30:29 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,22 +0,0 @@
     1.4 -# Compute powerpc-specific values
     1.5 -
     1.6 -CT_DoArchValues () {
     1.7 -    # The architecture part of the tuple:
     1.8 -    CT_TARGET_ARCH="${CT_ARCH}"
     1.9 -
    1.10 -    # The kernel ARCH:
    1.11 -    CT_KERNEL_ARCH=powerpc
    1.12 -
    1.13 -    # Add spe in the tuplet if needed
    1.14 -    case "${CT_LIBC},${CT_ARCH_POWERPC_SPE}" in
    1.15 -        glibc,|eglibc,)   CT_TARGET_SYS=gnu;;
    1.16 -        glibc,y|eglibc,y) CT_TARGET_SYS=gnuspe;;
    1.17 -    esac
    1.18 -
    1.19 -    # Add extra flags for SPE if needed
    1.20 -    if [ "${CT_ARCH_POWERPC_SPE}" = "y" ]; then
    1.21 -        CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
    1.22 -        CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
    1.23 -        CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"
    1.24 -    fi
    1.25 -}