2007-09-14 21:17:59 +00:00
|
|
|
# Compute ARM-specific values
|
|
|
|
|
2008-10-23 13:00:45 +00:00
|
|
|
CT_DoArchTupleValues() {
|
2007-09-14 21:17:59 +00:00
|
|
|
# The architecture part of the tuple:
|
|
|
|
CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
|
|
|
|
|
2007-09-14 21:31:00 +00:00
|
|
|
# The system part of the tuple:
|
|
|
|
case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
|
2008-08-11 12:22:47 +00:00
|
|
|
*glibc,y) CT_TARGET_SYS=gnueabi;;
|
2007-09-14 21:31:00 +00:00
|
|
|
uClibc,y) CT_TARGET_SYS=uclibcgnueabi;;
|
2008-09-14 16:21:07 +00:00
|
|
|
none,y) CT_TARGET_SYS=eabi;;
|
2007-09-14 21:31:00 +00:00
|
|
|
esac
|
2008-05-14 17:59:52 +00:00
|
|
|
|
2008-09-01 17:54:39 +00:00
|
|
|
# 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}"
|
2007-09-14 21:17:59 +00:00
|
|
|
}
|