From patchwork Wed Jul 3 03:45:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Franz X-Patchwork-Id: 2815111 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A73579F3EB for ; Wed, 3 Jul 2013 03:46:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3D84200E0 for ; Wed, 3 Jul 2013 03:46:19 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC1D8200CF for ; Wed, 3 Jul 2013 03:46:18 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UuE1H-00020N-9s; Wed, 03 Jul 2013 03:46:15 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UuE1E-0000M7-P9; Wed, 03 Jul 2013 03:46:12 +0000 Received: from mail-pb0-f45.google.com ([209.85.160.45]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UuE1C-0000Lp-EI for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2013 03:46:10 +0000 Received: by mail-pb0-f45.google.com with SMTP id mc8so6847861pbc.4 for ; Tue, 02 Jul 2013 20:45:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=pKMo0Oh8ID/ZCftQS6g6F/yUGxW8XKk2KiKylcJTGxg=; b=mP/NXeQeoCKDXXqcEdnO8ttm5JWKJYk4j8V7Pezw5infGjCoA+Ithq0shSsIrDlX3q +q1Xpd67r7wDIKRZ6d5oa/yCdD3FofYfpp3xWz7y1P2/BCK9+8yxkfVCk/RDQFCVHB3i 7ZQzTYCFi2msmoqlmGfiic2odCuBfXx2ROmJmeFd6Ejz+FTg8p1LE+wvNvnl8YicBs5U a0ytibW+I0WZeeWeg60uCpzU8+x1FyQnuUwqho3f+tqhUNpNWjHlqxVIcgKmGC4vC5ew 9CACEIMgXSvx4SbPu3FfD4AgU3HrDowNKJpAGxKfROaIpVrWmNVlAdHwbN74fHJH4iGy jrjA== X-Received: by 10.68.28.232 with SMTP id e8mr32176134pbh.94.1372823144017; Tue, 02 Jul 2013 20:45:44 -0700 (PDT) Received: from rfranz-i7.local (c-24-10-48-230.hsd1.ca.comcast.net. [24.10.48.230]) by mx.google.com with ESMTPSA id td4sm18221276pac.20.2013.07.02.20.45.42 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jul 2013 20:45:43 -0700 (PDT) From: Roy Franz To: catalin.marinas@arm.com Subject: [PATCH] ARM: Add kernel build # to build message Date: Tue, 2 Jul 2013 20:45:10 -0700 Message-Id: <1372823110-18170-1-git-send-email-roy.franz@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQm58d/wpzpc8T4GOT5kuy8pnLJn15cE7ANhXk7XULvxAxzxqD1fhwk/rkbQws7C2DUszty8 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130702_234610_560511_02685DFF X-CRM114-Status: UNSURE ( 7.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Roy Franz , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP from: Roy Franz Add the display of the incrementing kernel build number, similar to the x86 build. Example output: Kernel: arch/arm/boot/zImage is ready (#94) Signed-off-by: Roy Franz --- arch/arm/boot/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile index 84aa2ca..f1192f5 100644 --- a/arch/arm/boot/Makefile +++ b/arch/arm/boot/Makefile @@ -31,7 +31,7 @@ ifeq ($(CONFIG_XIP_KERNEL),y) $(obj)/xipImage: vmlinux FORCE $(call if_changed,objcopy) - @$(kecho) ' Kernel: $@ is ready (physical address: $(CONFIG_XIP_PHYS_ADDR))' + @$(kecho) ' Kernel: $@ is ready (physical address: $(CONFIG_XIP_PHYS_ADDR))' ' (#'`cat .version`')' $(obj)/Image $(obj)/zImage: FORCE @echo 'Kernel configured for XIP (CONFIG_XIP_KERNEL=y)' @@ -46,14 +46,14 @@ $(obj)/xipImage: FORCE $(obj)/Image: vmlinux FORCE $(call if_changed,objcopy) - @$(kecho) ' Kernel: $@ is ready' + @$(kecho) ' Kernel: $@ is ready' ' (#'`cat .version`')' $(obj)/compressed/vmlinux: $(obj)/Image FORCE $(Q)$(MAKE) $(build)=$(obj)/compressed $@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE $(call if_changed,objcopy) - @$(kecho) ' Kernel: $@ is ready' + @$(kecho) ' Kernel: $@ is ready' ' (#'`cat .version`')' endif @@ -78,7 +78,7 @@ fi $(obj)/uImage: $(obj)/zImage FORCE @$(check_for_multiple_loadaddr) $(call if_changed,uimage) - @$(kecho) ' Image $@ is ready' + @$(kecho) ' Image $@ is ready' ' (#'`cat .version`')' $(obj)/bootp/bootp: $(obj)/zImage initrd FORCE $(Q)$(MAKE) $(build)=$(obj)/bootp $@ @@ -86,7 +86,7 @@ $(obj)/bootp/bootp: $(obj)/zImage initrd FORCE $(obj)/bootpImage: $(obj)/bootp/bootp FORCE $(call if_changed,objcopy) - @$(kecho) ' Kernel: $@ is ready' + @$(kecho) ' Kernel: $@ is ready' ' (#'`cat .version`')' PHONY += initrd FORCE initrd: