From: Jan Beulich Date: Wed, 22 Feb 2006 12:29:04 +0000 (+0100) Subject: [PATCH] kbuild: version.h should depend on .kernelrelease X-Git-Tag: v2.6.16-rc6~28 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44f329ab69b742194e48f66e87064cff70fb52b8;p=linux-2.6 [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 Signed-off-by: Sam Ravnborg Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index 46eea76bc5..65a0337beb 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) # ---------------------------------------------------------------------------