summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2006-02-22 13:29:04 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-10 15:59:34 -0800
commit44f329ab69b742194e48f66e87064cff70fb52b8 (patch)
tree4f2bd804fa206cd78a5173aadcc6b4015b0ce161 /Makefile
parent4ceadbf519c6820b236a9a213255260eb825974b (diff)
downloadlinux-stable-44f329ab69b742194e48f66e87064cff70fb52b8.tar.gz
linux-stable-44f329ab69b742194e48f66e87064cff70fb52b8.tar.bz2
linux-stable-44f329ab69b742194e48f66e87064cff70fb52b8.zip
[PATCH] kbuild: version.h should depend on .kernelrelease
Rebuilding a previously built tree while using make's -j option from time to time results in the version.h check running at the same time as the updating of .kernelrelease, resulting in UTS_RELEASE remaining an empty string (and as a side effect causing the entire kernel to be rebuilt). Signed-Off-By: Jan Beulich <jbeulich@novell.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 46eea76bc570..65a0337bebe0 100644
--- a/Makefile
+++ b/Makefile
@@ -905,7 +905,7 @@ define filechk_version.h
)
endef
-include/linux/version.h: $(srctree)/Makefile .config FORCE
+include/linux/version.h: $(srctree)/Makefile .config .kernelrelease FORCE
$(call filechk,version.h)
# ---------------------------------------------------------------------------