mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-27 05:10:41 +00:00
Fix rebuilding after a .td file is modified. This was broken since revision
65834. llvm-svn: 66553
This commit is contained in:
parent
8ae70c265d
commit
940ac89ff3
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user