summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoywolf Qi Hunt <coywolf@lovecn.org>2005-06-21 17:15:15 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 18:46:22 -0700
commit2894801db1cea527885f7a8679e5a88fb7377d9c (patch)
tree73789d1e0f35c622e397659e57380278a23df362
parent0f667ff5c0282f686b4f739e46353779b3cfa2f6 (diff)
downloadlinux-3.10-2894801db1cea527885f7a8679e5a88fb7377d9c.tar.gz
linux-3.10-2894801db1cea527885f7a8679e5a88fb7377d9c.tar.bz2
linux-3.10-2894801db1cea527885f7a8679e5a88fb7377d9c.zip
[PATCH] kbuild: display compile version
I am always trying to make sure I've booted the right kernel after a new install. Too paranoid maybe. But I guess there're other people like me. So let's make kbuild display the compile version number at the end to give us a hint. I know we may be booting vmlinux someday, but don't care about it for now. Signed-off-by: Coywolf Qi Hunt <coywolf@lovecn.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/i386/boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/boot/Makefile b/arch/i386/boot/Makefile
index aa7064a75ee..43cd6220ee4 100644
--- a/arch/i386/boot/Makefile
+++ b/arch/i386/boot/Makefile
@@ -48,7 +48,7 @@ cmd_image = $(obj)/tools/build $(BUILDFLAGS) $(obj)/bootsect $(obj)/setup \
$(obj)/zImage $(obj)/bzImage: $(obj)/bootsect $(obj)/setup \
$(obj)/vmlinux.bin $(obj)/tools/build FORCE
$(call if_changed,image)
- @echo 'Kernel: $@ is ready'
+ @echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
$(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE
$(call if_changed,objcopy)