]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] kbuild: version.h should depend on .kernelrelease
authorJan Beulich <jbeulich@novell.com>
Wed, 22 Feb 2006 12:29:04 +0000 (13:29 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Mar 2006 23:59:34 +0000 (15:59 -0800)
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>
Makefile

index 46eea76bc57088c14b427800354df5b5cb98b8b5..65a0337bebe0cbf8ec74b919dab9bd57c19f9fd0 100644 (file)
--- 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)
 
 # ---------------------------------------------------------------------------