aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2006-02-22 13:29:04 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2006-02-22 21:29:27 +0100
commitc3f9da90b6e63c968070aa72057fe15356b3f7b5 (patch)
tree20ca7565dd33db629e21b5dae3d03f1b8f598003
parentkbuild: do not warn when unwind sections references .init/.exit sections (diff)
downloadlinux-dev-c3f9da90b6e63c968070aa72057fe15356b3f7b5.tar.xz
linux-dev-c3f9da90b6e63c968070aa72057fe15356b3f7b5.zip
kbuild: version.h should depend on .kernelrelease
Rebuilding a previously built tree while using make's -j options 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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7a95f4f8ef14..ce2bfbdeb96c 100644
--- a/Makefile
+++ b/Makefile
@@ -852,7 +852,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)
# ---------------------------------------------------------------------------