mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] kbuild: display compile version
@ 2005-05-05 13:26 Coywolf Qi Hunt
  0 siblings, 0 replies; only message in thread
From: Coywolf Qi Hunt @ 2005-05-05 13:26 UTC (permalink / raw)
  To: sam; +Cc: kai, akpm, linux-kernel

hello,

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>

--- 2.6.12-rc3-mm3/arch/i386/boot/Makefile	2005-05-05 18:52:51.000000000 +0800
+++ 2.6.12-rc3-mm3-cy/arch/i386/boot/Makefile	2005-05-05 20:45:57.000000000 +0800
@@ -48,7 +48,7 @@
 $(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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-05 13:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-05 13:26 [patch] kbuild: display compile version Coywolf Qi Hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®