diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-03-10 17:58:54 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-03-10 17:58:54 +0000 |
| commit | 59e371ac96e89d0e3e4fab79bf3955456be6294c (patch) | |
| tree | 96741361e541f7b4a738dcbdb2fbbf02c00c0434 | |
| parent | c7597f8efae8b3b65ea50b13c7955152bc8a075d (diff) | |
| download | bcm5719-llvm-59e371ac96e89d0e3e4fab79bf3955456be6294c.tar.gz bcm5719-llvm-59e371ac96e89d0e3e4fab79bf3955456be6294c.zip | |
Fix rebuilding after a .td file is modified. This was broken since revision
65834.
llvm-svn: 66553
| -rw-r--r-- | llvm/Makefile.rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index de43f1fc2cc..66d90f12094 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -1346,9 +1346,6 @@ INCFiles := $(filter %.inc,$(BUILT_SOURCES)) INCTMPFiles := $(INCFiles:%=$(ObjDir)/%.tmp) .PRECIOUS: $(INCTMPFiles) $(INCFiles) -# All of these files depend on tblgen and the .td files. -$(INCTMPFiles) : $(TBLGEN) $(TDFiles) - # INCFiles rule: All of the tblgen generated files are emitted to # $(ObjDir)/%.inc.tmp, instead of emitting them directly to %.inc. This allows # us to only "touch" the real file if the contents of it change. IOW, if @@ -1370,6 +1367,9 @@ TDFiles := $(strip $(wildcard $(PROJ_SRC_DIR)/*.td) \ $(LLVM_SRC_ROOT)/include/llvm/CodeGen/ValueTypes.td) \ $(wildcard $(LLVM_SRC_ROOT)/include/llvm/Intrinsics*.td) +# All of these files depend on tblgen and the .td files. +$(INCTMPFiles) : $(TBLGEN) $(TDFiles) + $(TARGET:%=$(ObjDir)/%GenRegisterNames.inc.tmp): \ $(ObjDir)/%GenRegisterNames.inc.tmp : %.td $(ObjDir)/.dir $(Echo) "Building $(<F) register names with tblgen" |

