summaryrefslogtreecommitdiffstats
path: root/llvm/configure
diff options
context:
space:
mode:
authorDylan McKay <dylanmckay34@gmail.com>2015-11-12 09:26:44 +0000
committerDylan McKay <dylanmckay34@gmail.com>2015-11-12 09:26:44 +0000
commitc498ba3a3e39eb94b79e3127eeda8aee2fcfbe68 (patch)
tree6bbda8c77a6cc21f1505fcb07b131362c80df9f5 /llvm/configure
parent1b1b34ef95817eca7ba8f2445be1c895af4a3738 (diff)
downloadbcm5719-llvm-c498ba3a3e39eb94b79e3127eeda8aee2fcfbe68.tar.gz
bcm5719-llvm-c498ba3a3e39eb94b79e3127eeda8aee2fcfbe68.zip
Add AVR backend skeleton
This adds part of the target info code, and adds modifications to the build scripts so that AVR is recognized a supported, experimental backend. It does not include any AVR-specific code, just the bare sources required for a backend to exist. From D14039. llvm-svn: 252865
Diffstat (limited to 'llvm/configure')
-rwxr-xr-xllvm/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/configure b/llvm/configure
index 00f31ce99a9..8237e880cc8 100755
--- a/llvm/configure
+++ b/llvm/configure
@@ -4188,6 +4188,7 @@ else
arm64*-*) llvm_cv_target_arch="AArch64" ;;
arm*-*) llvm_cv_target_arch="ARM" ;;
aarch64*-*) llvm_cv_target_arch="AArch64" ;;
+ avr-*) llvm_cv_target_arch="AVR" ;;
mips-* | mips64-*) llvm_cv_target_arch="Mips" ;;
mipsel-* | mips64el-*) llvm_cv_target_arch="Mips" ;;
xcore-*) llvm_cv_target_arch="XCore" ;;
@@ -4226,6 +4227,7 @@ case $host in
arm64*-*) host_arch="AArch64" ;;
arm*-*) host_arch="ARM" ;;
aarch64*-*) host_arch="AArch64" ;;
+ avr-*) host_arch="AVR" ;;
mips-* | mips64-*) host_arch="Mips" ;;
mipsel-* | mips64el-*) host_arch="Mips" ;;
xcore-*) host_arch="XCore" ;;
@@ -5148,6 +5150,8 @@ else
;;
ARM) TARGET_HAS_JIT=1
;;
+ AVR) TARGET_HAS_JIT=0
+ ;;
Mips) TARGET_HAS_JIT=1
;;
XCore) TARGET_HAS_JIT=0
OpenPOWER on IntegriCloud