lkml.org 
[lkml]   [2020]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] m68k: use CLEAN_FILES to clean up files
Date
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
\
 
 \ /
  Last update: 2020-06-17 05:13    [W:0.051 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site