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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 47fbcb9 commit e3a5494

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)