From 7b11051a28731b099dc47df9e5db7eccfa889369 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 11 Jun 2012 18:46:51 -0700 Subject: [PATCH] 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 --- src/mesa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- 2.30.2