Skip to content

Commit

Permalink
[PATCH] kbuild: version.h should depend on .kernelrelease
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Mar 10, 2006
1 parent 4ceadbf commit 44f329a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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)

# ---------------------------------------------------------------------------
Expand Down

0 comments on commit 44f329a

Please sign in to comment.