mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-28 16:48:52 +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
|
|
}
|