summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/AVR/CMakeLists.txt12
-rw-r--r--llvm/lib/Target/AVR/TargetInfo/CMakeLists.txt2
2 files changed, 8 insertions, 6 deletions
diff --git a/llvm/lib/Target/AVR/CMakeLists.txt b/llvm/lib/Target/AVR/CMakeLists.txt
index 1baf2a9438e..a0e7bcf73dd 100644
--- a/llvm/lib/Target/AVR/CMakeLists.txt
+++ b/llvm/lib/Target/AVR/CMakeLists.txt
@@ -7,12 +7,12 @@ tablegen(LLVM AVRGenSubtargetInfo.inc -gen-subtarget)
add_public_tablegen_target(AVRCommonTableGen)
add_llvm_target(AVRCodeGen
- AVRTargetMachine.cpp
- AVRTargetObjectFile.cpp
- AVRSubtarget.cpp
- AVRInstrInfo.cpp
- AVRRegisterInfo.cpp
- )
+ AVRInstrInfo.cpp
+ AVRRegisterInfo.cpp
+ AVRSubtarget.cpp
+ AVRTargetMachine.cpp
+ AVRTargetObjectFile.cpp
+)
add_dependencies(LLVMAVRCodeGen intrinsics_gen)
diff --git a/llvm/lib/Target/AVR/TargetInfo/CMakeLists.txt b/llvm/lib/Target/AVR/TargetInfo/CMakeLists.txt
index f2709003770..557c55ae2f7 100644
--- a/llvm/lib/Target/AVR/TargetInfo/CMakeLists.txt
+++ b/llvm/lib/Target/AVR/TargetInfo/CMakeLists.txt
@@ -5,3 +5,5 @@ add_llvm_library(LLVMAVRInfo
AVRTargetInfo.cpp
)
+add_dependencies(LLVMAVRInfo AVRCommonTableGen)
+
OpenPOWER on IntegriCloud