scripts/build/arch/sparc.sh
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 23:43:52 2014 +0200 (2014-05-11)
changeset 3320 78af1c99bc6d
parent 2371 c131e30363ee
child 3323 99029fac116b
permissions -rw-r--r--
scripts/functions: add target_endian_le and target_endian_be

We currently define target_endian_el and target_endian_eb to be the
tuple extension depending on endianness, defined to be respectively
'el' or 'eb' according to the endianness.

Some architecture do not use 'el' or 'eb', but use 'le' or 'be'.

Provide that as well, as two new variables: target_endian_le and
target_endian_be.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
sam@2371
     1
# Compute sparc-specific values
sam@2371
     2
CT_DoArchTupleValues() {
sam@2371
     3
    # That's the only thing to override
sam@2371
     4
    if [ "${CT_ARCH_64}" = "y" ]; then
w@3169
     5
        CT_TARGET_ARCH="sparc64${CT_ARCH_SUFFIX}"
sam@2371
     6
    fi
sam@2371
     7
sam@2371
     8
}