X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c0b7eece821b1f5da9dcbf33134bc20323d6bc43..5d7b80359cdb37bb29c8410b2e4a03d443172c43:/toolchain/Config.in?ds=sidebyside 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)