aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/liblldb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/liblldb/Makefile')
-rw-r--r--lib/clang/liblldb/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile
index 28778cb04c57..dbf9c6d696e7 100644
--- a/lib/clang/liblldb/Makefile
+++ b/lib/clang/liblldb/Makefile
@@ -693,6 +693,7 @@ SRCS+= Utility/VMRange.cpp
SRCS+= Version/Version.cpp
LLDB_TBLGEN?= lldb-tblgen
+LLDB_TBLGEN_BIN!= which ${LLDB_TBLGEN}
CommandOptions.inc: ${LLDB_SRCS}/source/Commands/Options.td
${LLDB_TBLGEN} -gen-lldb-option-defs \
@@ -720,6 +721,8 @@ ${path:T}PropertiesEnum.inc: ${LLDB_SRCS}/source/${path}Properties.td
TGHDRS+= ${path:T}PropertiesEnum.inc
.endfor
+${TGHDRS}: ${LLDB_TBLGEN_BIN}
+
DPSRCS+= ${TGHDRS}
CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}