mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
58e57f180c
- rename the tuple function /trunk/scripts/build/arch/mips.sh | 2 1 1 0 +- /trunk/scripts/build/arch/sh.sh | 2 1 1 0 +- /trunk/scripts/build/arch/x86_64.sh | 2 1 1 0 +- /trunk/scripts/build/arch/arm.sh | 2 1 1 0 +- /trunk/scripts/build/arch/powerpc.sh | 2 1 1 0 +- /trunk/scripts/build/arch/ia64.sh | 2 1 1 0 +- /trunk/scripts/build/arch/alpha.sh | 2 1 1 0 +- /trunk/scripts/build/arch/x86.sh | 2 1 1 0 +- /trunk/scripts/functions | 12 7 5 0 +++++++----- 9 files changed, 15 insertions(+), 13 deletions(-)
18 lines
639 B
Bash
18 lines
639 B
Bash
# Compute ARM-specific values
|
|
|
|
CT_DoArchTupleValues() {
|
|
# The architecture part of the tuple:
|
|
CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
|
|
|
|
# The system part of the tuple:
|
|
case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
|
|
*glibc,y) CT_TARGET_SYS=gnueabi;;
|
|
uClibc,y) CT_TARGET_SYS=uclibcgnueabi;;
|
|
none,y) CT_TARGET_SYS=eabi;;
|
|
esac
|
|
|
|
# In case we're EABI, do *not* specify any ABI!
|
|
# which means, either we do not have an ABI specified, or we're not EABI.
|
|
CT_TestOrAbort "Internal error: CT_ARCH_ABI should not be set for EABI build." -z "${CT_ARCH_ABI}" -o -z "${CT_ARCH_ARM_EABI}"
|
|
}
|