]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commitdiff
[Make] Fix dependencies for td.expanded
authorAdam Nemet <anemet@apple.com>
Fri, 20 Jun 2014 19:00:41 +0000 (19:00 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 20 Jun 2014 19:00:41 +0000 (19:00 +0000)
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

Makefile.rules

index ff0a3e3f81915b8b2f1cb41f7ca848aae41b6716..ebebc0a85c4f32cb783cac5e484b32230ef676a0 100644 (file)
@@ -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, $@) $<