Skip to content

Commit e3a5494

Browse files
masahir0ygeertu
authored andcommitted
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>
1 parent 47fbcb9 commit e3a5494

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎arch/m68k/Makefile‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ else
138138
$(KBZIP2) -1c vmlinux >vmlinux.bz2
139139
endif
140140

141-
archclean:
142-
rm -f vmlinux.gz vmlinux.bz2
141+
CLEAN_FILES += vmlinux.gz vmlinux.bz2
143142

144143
archheaders:
145144
$(Q)$(MAKE) $(build)=arch/m68k/kernel/syscalls all

0 commit comments

Comments
 (0)