mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-13 04:48:17 +00:00
Add moxie architecture
and a moxie-unknown-elf target (which is what #1088 apparently wanted). Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
@ -1091,16 +1091,21 @@ CT_DoBuildTargetTuple() {
|
||||
# Set defaults for the system part of the tuple. Can be overriden
|
||||
# by architecture-specific values.
|
||||
case "${CT_LIBC}" in
|
||||
*glibc) CT_TARGET_SYS=gnu;;
|
||||
uClibc) CT_TARGET_SYS=uclibc;;
|
||||
musl) CT_TARGET_SYS=musl;;
|
||||
glibc) CT_TARGET_SYS=gnu;;
|
||||
uClibc) CT_TARGET_SYS=uclibc;;
|
||||
musl) CT_TARGET_SYS=musl;;
|
||||
bionic) CT_TARGET_SYS=android;;
|
||||
avr-libc)
|
||||
# avr-libc only seems to work with the non-canonical "avr" target.
|
||||
CT_TARGET_SKIP_CONFIG_SUB=y
|
||||
CT_TARGET_SYS= # CT_TARGET_SYS must be empty too
|
||||
;;
|
||||
*) CT_TARGET_SYS=elf;;
|
||||
;;
|
||||
none|newlib)
|
||||
CT_TARGET_SYS=elf
|
||||
;;
|
||||
*)
|
||||
CT_TARGET_SYS= # Keep empty for the libraries like mingw
|
||||
;;
|
||||
esac
|
||||
|
||||
# Set the default values for ARCH, ABI, CPU, TUNE, FPU and FLOAT
|
||||
|
Reference in New Issue
Block a user