linux-m68k.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] m68k: use CLEAN_FILES to clean up files
@ 2020-06-17  3:11 Masahiro Yamada
  2020-06-29 19:23 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2020-06-17  3:11 UTC (permalink / raw)
  To: Geert Uytterhoeven, linux-m68k; +Cc: Masahiro Yamada, linux-kernel

The log of 'make ARCH=m68k clean' does not look nice.

$ make ARCH=m68k clean
  CLEAN   arch/m68k/kernel
  [ snip ]
  CLEAN   usr
rm -f vmlinux.gz vmlinux.bz2
  CLEAN   vmlinux.symvers modules.builtin modules.builtin.modinfo

Use CLEAN_FILES to simplify the code, and beautify the log.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/m68k/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile
index 24072fb99680..4d569c3ab9fd 100644
--- a/arch/m68k/Makefile
+++ b/arch/m68k/Makefile
@@ -140,8 +140,7 @@ else
 	$(KBZIP2) -1c vmlinux >vmlinux.bz2
 endif
 
-archclean:
-	rm -f vmlinux.gz vmlinux.bz2
+CLEAN_FILES += vmlinux.gz vmlinux.bz2
 
 archheaders:
 	$(Q)$(MAKE) $(build)=arch/m68k/kernel/syscalls all
-- 
2.25.1


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

* Re: [PATCH] m68k: use CLEAN_FILES to clean up files
  2020-06-17  3:11 [PATCH] m68k: use CLEAN_FILES to clean up files Masahiro Yamada
@ 2020-06-29 19:23 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-06-29 19:23 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: linux-m68k, Linux Kernel Mailing List

On Wed, Jun 17, 2020 at 5:12 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
> The log of 'make ARCH=m68k clean' does not look nice.
>
> $ make ARCH=m68k clean
>   CLEAN   arch/m68k/kernel
>   [ snip ]
>   CLEAN   usr
> rm -f vmlinux.gz vmlinux.bz2
>   CLEAN   vmlinux.symvers modules.builtin modules.builtin.modinfo
>
> Use CLEAN_FILES to simplify the code, and beautify the log.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
i.e. will queue in the m68k for-v5.9 branch.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

end of thread, other threads:[~2020-06-29 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17  3:11 [PATCH] m68k: use CLEAN_FILES to clean up files Masahiro Yamada
2020-06-29 19:23 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).