summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Pennington <rich@pennware.com>2009-07-09 20:27:09 +0000
committerRichard Pennington <rich@pennware.com>2009-07-09 20:27:09 +0000
commita51984b8ba7b676520508bd6641fe861f64cbb2b (patch)
treeeacf11dd4fb6dd4f4e101c839576ee7c47176863
parent39f59d82504ab4b955a258f31b59c90b6454ae09 (diff)
downloadllvm-a51984b8ba7b676520508bd6641fe861f64cbb2b.tar.gz
llvm-a51984b8ba7b676520508bd6641fe861f64cbb2b.tar.bz2
llvm-a51984b8ba7b676520508bd6641fe861f64cbb2b.tar.xz
bug 4524: Add MSP430 to the cmake build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75170 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--CMakeLists.txt1
-rw-r--r--lib/Target/MSP430/CMakeLists.txt9
2 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2a59efb771..48d0f76f04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,7 @@ set(LLVM_ALL_TARGETS
IA64
Mips
MSIL
+ MSP430
PIC16
PowerPC
Sparc
diff --git a/lib/Target/MSP430/CMakeLists.txt b/lib/Target/MSP430/CMakeLists.txt
index 67017733cd..b106a2dc45 100644
--- a/lib/Target/MSP430/CMakeLists.txt
+++ b/lib/Target/MSP430/CMakeLists.txt
@@ -12,12 +12,13 @@ tablegen(MSP430GenSubtarget.inc -gen-subtarget)
add_llvm_target(MSP430
MSP430AsmPrinter.cpp
- MSP430FrameInfo.cpp
- MSP430InstrInfo.cpp
MSP430ISelDAGToDAG.cpp
- MSP430ISelLowering.cpp
MSP430RegisterInfo.cpp
- MSP430Subtarget.cpp
MSP430TargetAsmInfo.cpp
+ MSP430InstrInfo.cpp
+ MSP430ISelLowering.cpp
+ MSP430Subtarget.cpp
MSP430TargetMachine.cpp
)
+
+target_link_libraries (LLVMMSP430 LLVMSelectionDAG)