summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-09 11:37:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-09 11:37:50 +0000
commit36bc85648ba283fbee258361cbbb0db7ac6ed0e0 (patch)
treeaf26563857312463a097dc1ce3d8d6715094a6a8 /toolchain
parentfb53b99f8cbb1e95f2c9f6b8f3945eb7836e6e79 (diff)
downloadmtk-20170518-36bc85648ba283fbee258361cbbb0db7ac6ed0e0.zip
mtk-20170518-36bc85648ba283fbee258361cbbb0db7ac6ed0e0.tar.gz
mtk-20170518-36bc85648ba283fbee258361cbbb0db7ac6ed0e0.tar.bz2
fix target name mixup caused by r25928
SVN-Revision: 25969
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 61a54a3..3ff4804 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -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
+