scripts/build/arch/powerpc.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Oct 23 13:00:45 2008 +0000 (2008-10-23)
changeset 964 0535f7bf1069
parent 903 9fb0f81b4416
child 1181 2e88d85d6ffc
permissions -rw-r--r--
Architecture API change:
- rename the tuple function

/trunk/scripts/build/arch/mips.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/sh.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/x86_64.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/arm.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/powerpc.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/ia64.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/alpha.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/x86.sh | 2 1 1 0 +-
/trunk/scripts/functions | 12 7 5 0 +++++++-----
9 files changed, 15 insertions(+), 13 deletions(-)
     1 # Compute powerpc-specific values
     2 
     3 CT_DoArchTupleValues () {
     4     # The architecture part of the tuple:
     5     CT_TARGET_ARCH="${CT_ARCH}"
     6 
     7     # The kernel ARCH:
     8     CT_KERNEL_ARCH=powerpc
     9 
    10     # Add spe in the tuplet if needed
    11     case "${CT_LIBC},${CT_ARCH_POWERPC_SPE}" in
    12         glibc,|eglibc,)   CT_TARGET_SYS=gnu;;
    13         glibc,y|eglibc,y) CT_TARGET_SYS=gnuspe;;
    14     esac
    15 
    16     # Add extra flags for SPE if needed
    17     if [ "${CT_ARCH_POWERPC_SPE}" = "y" ]; then
    18         CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
    19         CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
    20         CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"
    21     fi
    22 }