SPARC and UltraSPARC platform development
 help / color / mirror / Atom feed
* [PATCH] sparc: Use $(kecho) to announce kernel images being ready
@ 2023-07-13  7:52 Uwe Kleine-König
  2023-07-13 14:55 ` Sam Ravnborg
  0 siblings, 1 reply; 14+ messages in thread
From: Uwe Kleine-König @ 2023-07-13  7:52 UTC (permalink / raw)
  To: David S. Miller, Paul Walmsley, Palmer Dabbelt; +Cc: sparclinux, kernel

My build test setup compiles allmodconfig all various architectures
(arm64 m68k powerpc riscv s390 sparc64 x86_64) using make -s. If there
is no warning, the only output is

          kernel: arch/sparc/boot/image is ready
          kernel: arch/sparc/boot/zImage is ready

from the sparc64 build. Copy the incantation from x86 which is silent
when building with make -s and also mentions a version indication.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 arch/sparc/boot/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/sparc/boot/Makefile b/arch/sparc/boot/Makefile
index 45e5c76d449e..339c42d35089 100644
--- a/arch/sparc/boot/Makefile
+++ b/arch/sparc/boot/Makefile
@@ -24,16 +24,16 @@ ifeq ($(CONFIG_SPARC64),y)
 
 $(obj)/zImage: $(obj)/image FORCE
 	$(call if_changed,gzip)
-	@echo '  kernel: $@ is ready'
+	@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
 
 $(obj)/vmlinux.aout: vmlinux FORCE
 	$(call if_changed,elftoaout)
-	@echo '  kernel: $@ is ready'
+	@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
 else
 
 $(obj)/zImage: $(obj)/image FORCE
 	$(call if_changed,strip)
-	@echo '  kernel: $@ is ready'
+	@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
 
 # The following lines make a readable image for U-Boot.
 #  uImage   - Binary file read by U-boot
@@ -59,13 +59,13 @@ targets += uImage
 $(obj)/uImage: $(obj)/image.gz FORCE
 	$(call if_changed,uimage)
 	$(call if_changed,uimage.o)
-	@echo '  Image $@ is ready'
+	@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
 
 endif
 
 $(obj)/image: vmlinux FORCE
 	$(call if_changed,strip)
-	@echo '  kernel: $@ is ready'
+	@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
 
 $(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback System.map $(ROOT_IMG) FORCE
 	$(call if_changed,elftoaout)
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-12-19 10:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-13  7:52 [PATCH] sparc: Use $(kecho) to announce kernel images being ready Uwe Kleine-König
2023-07-13 14:55 ` Sam Ravnborg
2023-12-04 11:05   ` Uwe Kleine-König
2023-12-04 11:14     ` John Paul Adrian Glaubitz
2023-12-04 13:06     ` Arnd Bergmann
2023-12-04 13:37       ` John Paul Adrian Glaubitz
2023-12-04 14:13         ` Arnd Bergmann
2023-12-05 18:05       ` Sam Ravnborg
2023-12-05 20:26         ` Sam Ravnborg
2023-12-06  9:31           ` John Paul Adrian Glaubitz
2023-12-07 16:49             ` Andreas Larsson
2023-12-18 20:52               ` Arnd Bergmann
2023-12-18 21:02                 ` John Paul Adrian Glaubitz
2023-12-19 10:32                   ` Arnd Bergmann

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