mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-11 23:43:22 +00:00
Initial support for ARM EABI (courtesy Szilveszter Ordog <ordog@mail.thot-soft.com>).
This commit is contained in:
parent
f4bfb6a0ae
commit
9e947198d2
@ -0,0 +1,8 @@
|
|||||||
|
comment "ARM specific options"
|
||||||
|
|
||||||
|
config ARCH_ARM_EABI
|
||||||
|
bool
|
||||||
|
prompt "Use EABI"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Set up the toolchain so that it generates EABI-compliant binaries.
|
@ -4,7 +4,13 @@ CT_DoArchValues() {
|
|||||||
# The architecture part of the tuple:
|
# The architecture part of the tuple:
|
||||||
CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
|
CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
|
||||||
|
|
||||||
# The system part of the tuple default values is OK.
|
# 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
|
||||||
|
|
||||||
# The endianness option default value is OK.
|
# The endianness option default value is OK
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user