summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt b/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
index c1f3f7b13e7..3fb088ab6f0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
+++ b/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
@@ -1,14 +1,3 @@
-# Based on whether BPF target is built or not,
-# either BTFDebug.cpp or BTFDebugStub.cpp will be included,
-# but not both.
-set(LLVM_OPTIONAL_SOURCES "BTFDebug.cpp" "BTFDebugStub.cpp")
-list(FIND LLVM_TARGETS_TO_BUILD "BPF" idx)
-if( NOT idx LESS 0 )
- set(BTFDebug_File "BTFDebug.cpp")
-else()
- set(BTFDebug_File "BTFDebugStub.cpp")
-endif()
-
add_llvm_library(LLVMAsmPrinter
AccelTable.cpp
AddressPool.cpp
@@ -35,7 +24,6 @@ add_llvm_library(LLVMAsmPrinter
WinException.cpp
CodeViewDebug.cpp
WasmException.cpp
- ${BTFDebug_File}
DEPENDS
intrinsics_gen
OpenPOWER on IntegriCloud