scripts/build/arch/arm.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 31 17:39:35 2009 +0000 (2009-01-31)
changeset 1181 2e88d85d6ffc
parent 903 9fb0f81b4416
child 1591 11460fc587e6
permissions -rw-r--r--
Add support for powerpc64, along with an EXPERIMENTAL sample.

/trunk/scripts/build/arch/powerpc64.sh | 21 1 20 0 -
/trunk/scripts/build/arch/powerpc.sh | 21 1 20 0 -
/trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 388 388 0 0 +++++++++++++++++++
/trunk/samples/powerpc64-unknown-linux-gnu/reported.by | 3 3 0 0 +
/trunk/config/arch/powerpc-powerpc64.in-common | 12 4 8 0 -
/trunk/config/arch/powerpc.in | 15 0 15 0 -
/trunk/config/arch/powerpc64.in | 19 3 16 0 -
7 files changed, 400 insertions(+), 79 deletions(-)
     1 # Compute ARM-specific values
     2 
     3 CT_DoArchTupleValues() {
     4     # The architecture part of the tuple:
     5     CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
     6 
     7     # The system part of the tuple:
     8     case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
     9         *glibc,y)   CT_TARGET_SYS=gnueabi;;
    10         uClibc,y)   CT_TARGET_SYS=uclibcgnueabi;;
    11         none,y)     CT_TARGET_SYS=eabi;;
    12     esac
    13 
    14     # In case we're EABI, do *not* specify any ABI!
    15     # which means, either we do not have an ABI specified, or we're not EABI.
    16     CT_TestOrAbort "Internal error: CT_ARCH_ABI should not be set for EABI build." -z "${CT_ARCH_ABI}" -o -z "${CT_ARCH_ARM_EABI}"
    17 }