[toolchain]: simplify TARGET_SUFFIX selection
[openwrt/svn-archive/archive.git] / toolchain / Config.in
index 84b50bbd0a4bb3d575baee0265ad666f0ac4341d..ef11c9cbae19a618f30eaa81559cdc93ab9564b8 100644 (file)
@@ -89,6 +89,7 @@ menuconfig TOOLCHAINOPTS
 menuconfig EXTRA_TARGET_ARCH
        bool
        prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS
+       depends !sparc
        default y       if powerpc64
        default n
        help
@@ -196,8 +197,8 @@ 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
+       default "gnu"             if (USE_EGLIBC || USE_GLIBC) && !arm
+       default "uclibcgnueabi"   if USE_UCLIBC && arm
+       default "uclibc"          if USE_UCLIBC && !arm