Linux-m68k Archive on lore.kernel.org
 help / color / 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	[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, back to index

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

Linux-m68k Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-m68k/0 linux-m68k/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-m68k linux-m68k/ https://lore.kernel.org/linux-m68k \
		linux-m68k@vger.kernel.org linux-m68k@lists.linux-m68k.org
	public-inbox-index linux-m68k

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-m68k


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git