diff options
author | Simon Atanasyan <satanasyan@mips.com> | 2012-10-29 19:49:45 +0000 |
---|---|---|
committer | Simon Atanasyan <satanasyan@mips.com> | 2012-10-29 19:49:45 +0000 |
commit | 4830ccff925b8d57f589650a3ad6007ffa0536d5 (patch) | |
tree | 8d72fa2bd0d9c1f9fa60152308248f9abe156d59 /autoconf | |
parent | 576b1dbbef3c85df7245ebd9c1064c2083a4e4a1 (diff) | |
download | external_llvm-4830ccff925b8d57f589650a3ad6007ffa0536d5.zip external_llvm-4830ccff925b8d57f589650a3ad6007ffa0536d5.tar.gz external_llvm-4830ccff925b8d57f589650a3ad6007ffa0536d5.tar.bz2 |
Add mips64-* and mips64el-* triples to configure scripts
as valid triples denote Mips target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 13b3db6..f1842a6 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -363,8 +363,8 @@ AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch], sparc*-*) llvm_cv_target_arch="Sparc" ;; powerpc*-*) llvm_cv_target_arch="PowerPC" ;; arm*-*) llvm_cv_target_arch="ARM" ;; - mips-*) llvm_cv_target_arch="Mips" ;; - mipsel-*) llvm_cv_target_arch="Mips" ;; + mips-* | mips64-*) llvm_cv_target_arch="Mips" ;; + mipsel-* | mips64el-*) llvm_cv_target_arch="Mips" ;; xcore-*) llvm_cv_target_arch="XCore" ;; msp430-*) llvm_cv_target_arch="MSP430" ;; hexagon-*) llvm_cv_target_arch="Hexagon" ;; @@ -396,8 +396,8 @@ case $host in sparc*-*) host_arch="Sparc" ;; powerpc*-*) host_arch="PowerPC" ;; arm*-*) host_arch="ARM" ;; - mips-*) host_arch="Mips" ;; - mipsel-*) host_arch="Mips" ;; + mips-* | mips64-*) host_arch="Mips" ;; + mipsel-* | mips64el-*) host_arch="Mips" ;; xcore-*) host_arch="XCore" ;; msp430-*) host_arch="MSP430" ;; hexagon-*) host_arch="Hexagon" ;; @@ -714,6 +714,8 @@ case "$enableval" in arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;; mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; + mips64) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; + mips64el) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; |