From 0234f51ff9c6e90e9e7f8e108a0fc6eff63634a6 Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Tue, 13 May 2008 17:37:32 +0000 Subject: [PATCH] Added configure switches for PIC16 backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51056 91177308-0d34-0410-b5e6-96231b3b80d8 --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 15a47c8997c..0add28a9770 100755 --- a/configure +++ b/configure @@ -2375,6 +2375,7 @@ else ia64-*) llvm_cv_target_arch="IA64" ;; arm-*) llvm_cv_target_arch="ARM" ;; mips-*) llvm_cv_target_arch="Mips" ;; + pic16-*) llvm_cv_target_arch="PIC16" ;; *) llvm_cv_target_arch="Unknown" ;; esac fi @@ -4661,6 +4662,8 @@ else ARM) TARGET_HAS_JIT=0 ;; Mips) TARGET_HAS_JIT=0 + ;; + PIC16) TARGET_HAS_JIT=0 ;; *) TARGET_HAS_JIT=0 ;; @@ -4743,7 +4746,7 @@ else fi case "$enableval" in - all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM Mips CellSPU CBackend MSIL CppBackend" ;; + all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM Mips CellSPU CBackend MSIL CppBackend PIC16" ;; host-only) case "$llvm_cv_target_arch" in x86) TARGETS_TO_BUILD="X86" ;; @@ -4754,6 +4757,7 @@ case "$enableval" in IA64) TARGETS_TO_BUILD="IA64" ;; ARM) TARGETS_TO_BUILD="ARM" ;; Mips) TARGETS_TO_BUILD="Mips" ;; + PIC16) TARGETS_TO_BUILD="PIC16" ;; CellSPU|SPU) TARGETS_TO_BUILD="CellSPU" ;; *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5 echo "$as_me: error: Can not set target to build" >&2;} @@ -4770,6 +4774,7 @@ echo "$as_me: error: Can not set target to build" >&2;} ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;; arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;; mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; + pic16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;; spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;; msil) TARGETS_TO_BUILD="MSIL $TARGETS_TO_BUILD" ;; -- 2.34.1