scripts/build/arch/blackfin.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 1910 207ad430c254
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>
thomas@1910
     1
# Compute Blackfin-specific values
thomas@1910
     2
thomas@1910
     3
CT_DoArchTupleValues() {
thomas@1910
     4
    # The architecture part of the tuple:
w@3169
     5
    CT_TARGET_ARCH="bfin${CT_ARCH_SUFFIX}"
thomas@1910
     6
thomas@1910
     7
    # gcc ./configure flags
thomas@1910
     8
    CT_ARCH_WITH_ARCH=
thomas@1910
     9
    CT_ARCH_WITH_ABI=
thomas@1910
    10
    CT_ARCH_WITH_CPU=
thomas@1910
    11
    CT_ARCH_WITH_TUNE=
thomas@1910
    12
    CT_ARCH_WITH_FPU=
thomas@1910
    13
    CT_ARCH_WITH_FLOAT=
thomas@1910
    14
}