diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-10 23:55:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-10 23:55:47 -0800 |
commit | 57e1e7e7429aa44ae5406409fad0d9341b86243c (patch) | |
tree | b0199ce564f722dcfd6a6235084e3c5824562d5b | |
parent | 4d49730711731efc99f371da3b533c3f703fa3e5 (diff) | |
parent | 0468f8daf112fe2a40fdf6671908a85b0414f1ca (diff) | |
download | crosstool-ng-57e1e7e7429aa44ae5406409fad0d9341b86243c.tar.gz crosstool-ng-57e1e7e7429aa44ae5406409fad0d9341b86243c.tar.bz2 crosstool-ng-57e1e7e7429aa44ae5406409fad0d9341b86243c.zip |
Merge pull request #587 from stilor/select-uclibceavi-suffix
Allow one to select uclibceabi/uclibcgnueabi suffix
-rw-r--r-- | config/libc/uClibc.in.2 | 13 | ||||
-rw-r--r-- | scripts/build/arch/arm.sh | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/config/libc/uClibc.in.2 b/config/libc/uClibc.in.2 index 7ac8a445..1b348554 100644 --- a/config/libc/uClibc.in.2 +++ b/config/libc/uClibc.in.2 @@ -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 diff --git a/scripts/build/arch/arm.sh b/scripts/build/arch/arm.sh index 182548ea..eeffc7d1 100644 --- a/scripts/build/arch/arm.sh +++ b/scripts/build/arch/arm.sh @@ -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 |