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 jakob@vmware.com
This commit is contained in:
Eric Anholt 2012-06-11 18:46:51 -07:00
parent fd64b39727
commit 7b11051a28

View file

@ -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) \