X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f9a6fe32c134d611797ad4ed3b1895d398e17557..5ace2c89edaf55572ed96142d23ea3d09531cf2c:/toolchain/Config.in diff --git a/toolchain/Config.in b/toolchain/Config.in index 3ff48048c..c027be821 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -86,11 +86,6 @@ menuconfig TOOLCHAINOPTS bool "Toolchain Options" if DEVEL depends NEED_TOOLCHAIN -config EABI_SUPPORT - bool - depends arm||armeb - default y - menuconfig EXTRA_TARGET_ARCH bool prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS @@ -180,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" @@ -202,8 +201,7 @@ config LIBC_VERSION config TARGET_SUFFIX string - default "gnueabi" if (USE_EGLIBC || USE_GLIBC) && EABI_SUPPORT - default "gnu" if (USE_EGLIBC || USE_GLIBC) && !EABI_SUPPORT - default "uclibcgnueabi" if USE_UCLIBC && EABI_SUPPORT - default "uclibc" if USE_UCLIBC && !EABI_SUPPORT - + 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)