From: Eric Anholt Date: Tue, 12 Jun 2012 01:46:51 +0000 (-0700) Subject: mesa: Build git_sha1.h before computing dependencies. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b11051a28731b099dc47df9e5db7eccfa889369;p=mesa.git 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 --- 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) \