Skip to content

Commit e183130

Browse files
Uwe Kleine-Königarndb
authored andcommitted
sparc: Use $(kecho) to announce kernel images being ready
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> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 0734f5c commit e183130

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

arch/sparc/boot/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ ifeq ($(CONFIG_SPARC64),y)
2424

2525
$(obj)/zImage: $(obj)/image FORCE
2626
$(call if_changed,gzip)
27-
@echo ' kernel: $@ is ready'
27+
@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
2828

2929
$(obj)/vmlinux.aout: vmlinux FORCE
3030
$(call if_changed,elftoaout)
31-
@echo ' kernel: $@ is ready'
31+
@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
3232
else
3333

3434
$(obj)/zImage: $(obj)/image FORCE
3535
$(call if_changed,strip)
36-
@echo ' kernel: $@ is ready'
36+
@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
3737

3838
# The following lines make a readable image for U-Boot.
3939
# uImage - Binary file read by U-boot
@@ -59,13 +59,13 @@ targets += uImage
5959
$(obj)/uImage: $(obj)/image.gz FORCE
6060
$(call if_changed,uimage)
6161
$(call if_changed,uimage.o)
62-
@echo ' Image $@ is ready'
62+
@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
6363

6464
endif
6565

6666
$(obj)/image: vmlinux FORCE
6767
$(call if_changed,strip)
68-
@echo ' kernel: $@ is ready'
68+
@$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
6969

7070
$(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback System.map $(ROOT_IMG) FORCE
7171
$(call if_changed,elftoaout)

0 commit comments

Comments
 (0)