X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c0b7eece821b1f5da9dcbf33134bc20323d6bc43..0bc9af31a9987ac2fd62491b642dae63a3f3eb2a:/toolchain/Config.in diff --git a/toolchain/Config.in b/toolchain/Config.in index 61a54a353..c027be821 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -175,7 +175,11 @@ config INSIGHT config USE_UCLIBC bool - default y if !TOOLCHAINOPTS + default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN + +config USE_EXTERNAL_LIBC + bool + default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN source "toolchain/gcc/Config.version" @@ -197,5 +201,7 @@ config LIBC_VERSION config TARGET_SUFFIX string - default "gnueabi" if (USE_EGLIBC || USE_GLIBC) - default "uclibcgnueabi" if USE_UCLIBC + default "gnueabi" if (USE_EGLIBC || USE_GLIBC) && (arm || armeb) + default "gnu" if (USE_EGLIBC || USE_GLIBC) && !(arm || armeb) + default "uclibcgnueabi" if USE_UCLIBC && (arm || armeb) + default "uclibc" if USE_UCLIBC && !(arm || armeb)