summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-06-11 18:46:51 -0700
committerEric Anholt <[email protected]>2012-06-12 08:10:41 -0700
commit7b11051a28731b099dc47df9e5db7eccfa889369 (patch)
tree1aea6eb582c60004fb2888181457c00302d5721f /src
parentfd64b397277c66e4cbb83222454d33b890648471 (diff)
mesa: Build git_sha1.h before computing dependencies.
Otherwise, version.c doesn't get a dependency on it in a clean build, and then it doesn't necessarily get generated before version.c is compiled. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50976 Reviewed-by: Jakob Bornecrantz [email protected]
Diffstat (limited to 'src')
-rw-r--r--src/mesa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 845b524e6c5..b0b461fddfc 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -135,7 +135,7 @@ asm_subdirs:
######################################################################
# Dependency generation
-depend: $(ALL_FILES)
+depend: $(ALL_FILES) main/git_sha1.h
@ echo "running $(MKDEP)"
@ touch depend
@$(MKDEP) $(MKDEP_OPTIONS) $(MESA_CPPFLAGS) \