summaryrefslogtreecommitdiff
path: root/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
commit0b9fa0c2e341a046350914143079f03d60886f84 (patch)
tree98ab59d0c0b2db5c75d1e67930942247adea9be2 /configure
parent6cd07b45e172b457428b291fa28252e507a7c50c (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 00f31ce99a9..8237e880cc8 100755
--- a/configure
+++ b/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