summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2014-06-20 19:00:41 +0000
committerAdam Nemet <anemet@apple.com>2014-06-20 19:00:41 +0000
commit8d99e7650fc9e590544c543724af432bc57de27e (patch)
treebfb000ff04a0391cbd9408e342e15aef665e33b4 /Makefile.rules
parente29fc75ea56f08887fb8f05c9b991ff1a0f6c6dc (diff)
downloadllvm-8d99e7650fc9e590544c543724af432bc57de27e.tar.gz
llvm-8d99e7650fc9e590544c543724af432bc57de27e.tar.bz2
llvm-8d99e7650fc9e590544c543724af432bc57de27e.tar.xz
[Make] Fix dependencies for td.expanded
Depend on all the .td files not just the main one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index ff0a3e3f81..ebebc0a85c 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1725,7 +1725,7 @@ $(ObjDir)/%GenDFAPacketizer.inc.tmp : %.td $(ObjDir)/.dir $(LLVM_TBLGEN)
# Dump all the records to <target>.td.expanded. This is useful for debugging.
$(TARGET:%=%.td.expanded): \
-%.td.expanded : %.td $(LLVM_TBLGEN)
+%.td.expanded : %.td $(LLVM_TBLGEN) $(TDFiles)
$(Echo) "Building a fully expanded version of $(<F)"
$(Verb) $(LLVMTableGen) -o $(call SYSPATH, $@) $<