diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-02-22 07:29:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-10 18:59:34 -0500 |
commit | 44f329ab69b742194e48f66e87064cff70fb52b8 (patch) | |
tree | 4f2bd804fa206cd78a5173aadcc6b4015b0ce161 | |
parent | 4ceadbf519c6820b236a9a213255260eb825974b (diff) |
[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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -905,7 +905,7 @@ define filechk_version.h | |||
905 | ) | 905 | ) |
906 | endef | 906 | endef |
907 | 907 | ||
908 | include/linux/version.h: $(srctree)/Makefile .config FORCE | 908 | include/linux/version.h: $(srctree)/Makefile .config .kernelrelease FORCE |
909 | $(call filechk,version.h) | 909 | $(call filechk,version.h) |
910 | 910 | ||
911 | # --------------------------------------------------------------------------- | 911 | # --------------------------------------------------------------------------- |