aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/m68k/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-06-17 12:11:53 +0900
committerGeert Uytterhoeven <geert@linux-m68k.org>2020-07-13 11:39:13 +0200
commite3a549487f08f6326b24e92b3d87f9683f1d74a4 (patch)
treef3ac89aa47e75f9cc68ab952f58164cf44bcf114 /arch/m68k/Makefile
parentm68k: mac: Improve IOP debug messages (diff)
downloadwireguard-linux-e3a549487f08f6326b24e92b3d87f9683f1d74a4.tar.xz
wireguard-linux-e3a549487f08f6326b24e92b3d87f9683f1d74a4.zip
m68k: Use CLEAN_FILES to clean up files
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> Link: https://lore.kernel.org/r/20200617031153.85858-1-masahiroy@kernel.org Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/Makefile')
-rw-r--r--arch/m68k/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile
index 71ffaf5f8954..4438ffb4bbe1 100644
--- a/arch/m68k/Makefile
+++ b/arch/m68k/Makefile
@@ -138,8 +138,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