mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 21:57:48 +00:00
993b4acec5
(fails at building GMP off the VCS because it needs to run bootstrap scripts) Signed-off-by: Alexey Neyman <stilor@att.net>
20 lines
457 B
Bash
20 lines
457 B
Bash
# Compute Xtensa-specific values
|
|
|
|
CT_DoArchTupleValues() {
|
|
# The architecture part of the tuple:
|
|
CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX}"
|
|
CT_ARCH_ENDIAN_CFLAG=""
|
|
CT_ARCH_ENDIAN_LDFLAG=""
|
|
# The system part of the tuple:
|
|
case "${CT_LIBC}" in
|
|
*glibc) CT_TARGET_SYS=gnu;;
|
|
uClibc) CT_TARGET_SYS=uclibc;;
|
|
esac
|
|
}
|
|
|
|
CT_DoArchUClibcConfig() {
|
|
local cfg="${1}"
|
|
|
|
CT_DoArchUClibcSelectArch "${cfg}" "xtensa"
|
|
}
|