summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Alpha')
-rw-r--r--llvm/lib/Target/Alpha/CMakeLists.txt1
-rw-r--r--llvm/lib/Target/Alpha/MCTargetDesc/CMakeLists.txt1
-rw-r--r--llvm/lib/Target/Alpha/TargetInfo/CMakeLists.txt3
3 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/CMakeLists.txt b/llvm/lib/Target/Alpha/CMakeLists.txt
index a6027bbf0b2..5444e1ab085 100644
--- a/llvm/lib/Target/Alpha/CMakeLists.txt
+++ b/llvm/lib/Target/Alpha/CMakeLists.txt
@@ -6,6 +6,7 @@ tablegen(AlphaGenAsmWriter.inc -gen-asm-writer)
tablegen(AlphaGenDAGISel.inc -gen-dag-isel)
tablegen(AlphaGenCallingConv.inc -gen-callingconv)
tablegen(AlphaGenSubtargetInfo.inc -gen-subtarget)
+add_public_tablegen_target(AlphaCommonTableGen)
add_llvm_target(AlphaCodeGen
AlphaAsmPrinter.cpp
diff --git a/llvm/lib/Target/Alpha/MCTargetDesc/CMakeLists.txt b/llvm/lib/Target/Alpha/MCTargetDesc/CMakeLists.txt
index ad0dd26aafb..733b1c01d43 100644
--- a/llvm/lib/Target/Alpha/MCTargetDesc/CMakeLists.txt
+++ b/llvm/lib/Target/Alpha/MCTargetDesc/CMakeLists.txt
@@ -2,3 +2,4 @@ add_llvm_library(LLVMAlphaDesc
AlphaMCTargetDesc.cpp
AlphaMCAsmInfo.cpp
)
+add_dependencies(LLVMAlphaDesc AlphaCommonTableGen)
diff --git a/llvm/lib/Target/Alpha/TargetInfo/CMakeLists.txt b/llvm/lib/Target/Alpha/TargetInfo/CMakeLists.txt
index 2a7291b90ae..a52457d6332 100644
--- a/llvm/lib/Target/Alpha/TargetInfo/CMakeLists.txt
+++ b/llvm/lib/Target/Alpha/TargetInfo/CMakeLists.txt
@@ -3,5 +3,4 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/
add_llvm_library(LLVMAlphaInfo
AlphaTargetInfo.cpp
)
-
-add_dependencies(LLVMAlphaInfo AlphaCodeGenTable_gen)
+add_dependencies(LLVMAlphaInfo AlphaCommonTableGen)
OpenPOWER on IntegriCloud