aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-05-24 11:20:36 -0700
committerYing Wang <wangying@google.com>2011-05-24 11:20:36 -0700
commitca65f4e8b7d5566d70a99273a4baabf4dbf08c05 (patch)
tree02c3269ea40bbb6942a16fcfb01a9ef9dc7b049d /llvm-host-build.mk
parent00f22a25ef7f5dd00c45aff1d281c7c352145a48 (diff)
downloadexternal_llvm-ca65f4e8b7d5566d70a99273a4baabf4dbf08c05.zip
external_llvm-ca65f4e8b7d5566d70a99273a4baabf4dbf08c05.tar.gz
external_llvm-ca65f4e8b7d5566d70a99273a4baabf4dbf08c05.tar.bz2
Always bring tblgen target up to date.
The copy-only-diff trick violates the makefile assumption: Rules should bring the target up to date if any source has newer time stamp. Change-Id: I9301d00461f1480ffd9293b81294985e58d4cdef
Diffstat (limited to 'llvm-host-build.mk')
-rw-r--r--llvm-host-build.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index fe68934..d7ef682 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -63,7 +63,5 @@ $(hide) $(TBLGEN) \
-I $(LLVM_ROOT_PATH)/lib/Target \
$(if $(strip $(CLANG_ROOT_PATH)),-I $(CLANG_ROOT_PATH)/include,) \
-gen-$(strip $(1)) \
- -o $@.tmp $<
-$(hide) $(LLVM_ROOT_PATH)/copy-diff.py $@.tmp $@
-$(hide) $(RM) $@.tmp
+ -o $@ $<
endef