Skip to content

Commit 822ec1b

Browse files
masahir0yRussell King
authored andcommitted
ARM: 8540/1: decompressor: use clean-files instead of extra-y to clean files
This code works fine here, but it is tricky to use "extra-y" for specifying files to be removed during "make clean". Kbuild provides "clean-files" for this purpose. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 684c120 commit 822ec1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/arm/boot/compressed/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ targets := vmlinux vmlinux.lds \
9494
lib1funcs.o ashldi3.o bswapsdi2.o \
9595
head.o $(OBJS)
9696

97-
# Make sure files are removed during clean
98-
extra-y += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern piggy.lz4 \
97+
clean-files += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern piggy.lz4 \
9998
lib1funcs.S ashldi3.S bswapsdi2.S $(libfdt) $(libfdt_hdrs) \
10099
hyp-stub.S
101100

0 commit comments

Comments
 (0)