[Mesa-dev] [PATCH] mesa: Build git_sha1.h before computing dependencies.
Eric Anholt
eric at anholt.net
Mon Jun 11 18:50:08 PDT 2012
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
---
src/mesa/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 845b524..b0b461f 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) \
--
1.7.10
More information about the mesa-dev
mailing list