crosstool-ng/scripts/build/arch/mips.sh
Yann E. MORIN" b8d189b296 Separate the architecture config file and function script.
/trunk/kconfig/kconfig.mk   |   46    23    23     0 +++++++++++++++++++++++-----------------------
 /trunk/scripts/crosstool.sh |    2     1     1     0 +-
 /trunk/docs/overview.txt    |   28    11    17     0 +++++++++++-----------------
 3 files changed, 35 insertions(+), 41 deletions(-)
2008-10-05 15:32:00 +00:00

13 lines
320 B
Bash

# Compute IA-64-specific values
CT_DoArchValues() {
# The architecture part of the tuple:
CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
# Override CFLAGS for endianness:
case "${CT_ARCH_BE},${CT_ARCH_LE}" in
y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
esac
}