mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Coywolf Qi Hunt" <coywolf@lovecn.org>
To: sam@ravnborg.org
Cc: kai@germaschewski.name, akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [patch] kbuild: display compile version
Date: Thu, 5 May 2005 21:26:10 +0800	[thread overview]
Message-ID: <20050505132610.GA21833@lovecn.org> (raw)

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)

                 reply	other threads:[~2005-05-05 13:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050505132610.GA21833@lovecn.org \
    --to=coywolf@lovecn.org \
    --cc=akpm@osdl.org \
    --cc=kai@germaschewski.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®