aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2007-12-05 02:01:41 +0000
committerScott Michel <scottm@aero.org>2007-12-05 02:01:41 +0000
commitb216a1b0b9847c8ccb917ec8697b6fbaaa915fd6 (patch)
tree490f7ae685d43273686ef1f927e4f066afb0110b /autoconf
parent2466c3766dee7e65793bded413d02834dbc75629 (diff)
downloadexternal_llvm-b216a1b0b9847c8ccb917ec8697b6fbaaa915fd6.zip
external_llvm-b216a1b0b9847c8ccb917ec8697b6fbaaa915fd6.tar.gz
external_llvm-b216a1b0b9847c8ccb917ec8697b6fbaaa915fd6.tar.bz2
More stuff for CellSPU -- this should be enough to get an error-free
compilation (no files missing). Test cases remain to be checked in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index aa98000..9a183d4 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -363,6 +363,7 @@ AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
[Build specific host targets: all,host-only,{target-name} (default=all)]),,
enableval=all)
case "$enableval" in
+ # Note: Add "CellSPU" to all when fully functional.
all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM Mips" ;;
host-only)
case "$llvm_cv_target_arch" in
@@ -374,6 +375,7 @@ case "$enableval" in
IA64) TARGETS_TO_BUILD="IA64" ;;
ARM) TARGETS_TO_BUILD="ARM" ;;
Mips) TARGETS_TO_BUILD="Mips" ;;
+ CellSPU|SPU) TARGETS_TO_BUILD="CellSPU" ;;
*) AC_MSG_ERROR([Can not set target to build]) ;;
esac
;;
@@ -387,6 +389,7 @@ case "$enableval" in
ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
+ spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
*) AC_MSG_ERROR([Unrecognized target $a_target]) ;;
esac
done