crosstool-ng/arch/arm/functions

15 lines
414 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
}