scripts/build/arch/powerpc.sh
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Mon May 26 23:25:17 2014 +0200 (2014-05-26)
changeset 3324 1eea25c0bfe7
parent 3169 9d0b37f08a10
permissions -rw-r--r--
complibs/cloog: remove old CLooG/PPL versions

Those versions are no longer available upstream. They have purely and
simply disapeared, without leaving any trace of their mere existences.

Just keep the latest cloog-ppl-0.15.11, which still exists on the gcc
infra mirror (but for how long?)

Reported-by: Guillaume FLORENCE-COURTAND <gflorenc@laposte.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # Compute powerpc-specific values
     2 
     3 CT_DoArchTupleValues () {
     4     # The architecture part of the tuple
     5     CT_TARGET_ARCH="powerpc${target_bits_64}${target_endian_le}${CT_ARCH_SUFFIX}"
     6 
     7     # Only override values when ABI is not the default
     8     case "${CT_ARCH_powerpc_ABI}" in
     9         eabi)
    10             # EABI is only for bare-metal, so libc ∈ [none,newlib]
    11             CT_TARGET_SYS="eabi"
    12             ;;
    13         spe)
    14             case "${CT_LIBC}" in
    15                 none|newlib)    CT_TARGET_SYS="spe";;
    16                 *glibc)         CT_TARGET_SYS="gnuspe";;
    17                 uClibc)         CT_TARGET_SYS="uclibcgnuspe";;
    18             esac
    19             ;;
    20     esac
    21 
    22     # Add extra flags for SPE if needed
    23     if [ "${CT_ARCH_powerpc_ABI_SPE}" = "y" ]; then
    24         CT_ARCH_TARGET_CFLAGS="-mabi=spe -mspe"
    25         CT_ARCH_CC_CORE_EXTRA_CONFIG="--enable-e500_double"
    26         CT_ARCH_CC_EXTRA_CONFIG="--enable-e500_double"
    27     fi
    28 }