mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +00:00
15 lines
414 B
Plaintext
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
|
|
}
|