summaryrefslogtreecommitdiff
path: root/tool/update-deps
diff options
context:
space:
mode:
Diffstat (limited to 'tool/update-deps')
-rwxr-xr-xtool/update-deps1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/update-deps b/tool/update-deps
index 4aaf812430..45cf5b9cc4 100755
--- a/tool/update-deps
+++ b/tool/update-deps
@@ -300,6 +300,7 @@ def read_make_deps(cwd)
target = rule_target
deps = rule_sources
deps = deps.scan(%r{[/0-9a-zA-Z._-]+})
+ deps.delete_if {|dep| /\.time\z/ =~ dep} # skip timestamp
next if /\.o\z/ !~ target.to_s
next if /\A\./ =~ target.to_s # skip rules such as ".c.o"
#p [curdir, target, deps]