mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 13:23:08 +00:00
679e8feb9f
Don't allow to specify an ABI for ARM EABI builds: the ABI is implied by the fact we're building for EABI. /branches/1.2/arch/arm/functions | 19 3 16 0 +++---------------- /branches/1.2/arch/arm/config.in | 9 6 3 0 ++++++--- 2 files changed, 9 insertions(+), 19 deletions(-)
19 lines
676 B
Plaintext
19 lines
676 B
Plaintext
# Compute ARM-specific values
|
|
|
|
CT_DoArchValues() {
|
|
# 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,) CT_TARGET_SYS=gnu;;
|
|
glibc,y) CT_TARGET_SYS=gnueabi;;
|
|
uClibc,) CT_TARGET_SYS=uclibc;;
|
|
uClibc,y) CT_TARGET_SYS=uclibcgnueabi;;
|
|
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}"
|
|
}
|