fix target name mixup caused by r25928
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Mar 2011 11:37:50 +0000 (11:37 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Mar 2011 11:37:50 +0000 (11:37 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25969 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/Config.in

index 61a54a3..3ff4804 100644 (file)
@@ -86,6 +86,11 @@ 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
@@ -197,5 +202,8 @@ 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) && 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
+
This page took 0.025753 seconds and 4 git commands to generate.