Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Uwe Kleine-König and committed by
Arnd Bergmann
e183130c 0734f5c7

+5 -5
+5 -5
arch/sparc/boot/Makefile
··· 24 24 25 25 $(obj)/zImage: $(obj)/image FORCE 26 26 $(call if_changed,gzip) 27 - @echo ' kernel: $@ is ready' 27 + @$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' 28 28 29 29 $(obj)/vmlinux.aout: vmlinux FORCE 30 30 $(call if_changed,elftoaout) 31 - @echo ' kernel: $@ is ready' 31 + @$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' 32 32 else 33 33 34 34 $(obj)/zImage: $(obj)/image FORCE 35 35 $(call if_changed,strip) 36 - @echo ' kernel: $@ is ready' 36 + @$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' 37 37 38 38 # The following lines make a readable image for U-Boot. 39 39 # uImage - Binary file read by U-boot ··· 59 59 $(obj)/uImage: $(obj)/image.gz FORCE 60 60 $(call if_changed,uimage) 61 61 $(call if_changed,uimage.o) 62 - @echo ' Image $@ is ready' 62 + @$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' 63 63 64 64 endif 65 65 66 66 $(obj)/image: vmlinux FORCE 67 67 $(call if_changed,strip) 68 - @echo ' kernel: $@ is ready' 68 + @$(kecho) 'Kernel: $@ is ready' '(#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' 69 69 70 70 $(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback System.map $(ROOT_IMG) FORCE 71 71 $(call if_changed,elftoaout)