mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
Allow one to select uclibceabi/uclibcgnueabi suffix
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
df555a65db
commit
0468f8daf1
@ -95,3 +95,16 @@ config LIBC_UCLIBC_RPC
|
||||
prompt "Add support for RPC"
|
||||
help
|
||||
Enable support for remote procedure calls (RPC) in uClibc.
|
||||
|
||||
if ARCH_arm
|
||||
config LIBC_UCLIBC_USE_GNU_SUFFIX
|
||||
bool
|
||||
default y
|
||||
prompt "Use -uclibcgnueabi suffix"
|
||||
help
|
||||
Depending on where the resulting toolchain will be used, you may need
|
||||
to tweak the "system" part of the target tuple. Buildroot prefers
|
||||
to have arm-*-linux-uclibcgnueabi; OpenEmbedded prefers
|
||||
arm-*-linux-uclibceabi. Other tools seem to either accept both, or
|
||||
don't care about the suffix.
|
||||
endif
|
||||
|
@ -16,7 +16,7 @@ CT_DoArchTupleValues() {
|
||||
# The system part of the tuple:
|
||||
case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
|
||||
*glibc,y) CT_TARGET_SYS=gnueabi;;
|
||||
uClibc,y) CT_TARGET_SYS=uclibcgnueabi;;
|
||||
uClibc,y) CT_TARGET_SYS=uclibc${CT_LIBC_UCLIBC_USE_GNU_SUFFIX:+gnu}eabi;;
|
||||
musl,y) CT_TARGET_SYS=musleabi;;
|
||||
*,y) CT_TARGET_SYS=eabi;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user