ARM: 8540/1: decompressor: use clean-files instead of extra-y to clean files
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 22 Feb 2016 12:31:33 +0000 (13:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 22 Feb 2016 16:56:30 +0000 (16:56 +0000)
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>
arch/arm/boot/compressed/Makefile

index 48c9db595ad2d1d3a11adcc672a057880d34514a..1b3d3e5bbd68f1080887f4d001faea6a4979b99d 100644 (file)
@@ -94,8 +94,7 @@ targets       := vmlinux vmlinux.lds \
                 lib1funcs.o ashldi3.o bswapsdi2.o \
                 head.o $(OBJS)
 
-# Make sure files are removed during clean
-extra-y       += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern piggy.lz4 \
+clean-files += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern piggy.lz4 \
                 lib1funcs.S ashldi3.S bswapsdi2.S $(libfdt) $(libfdt_hdrs) \
                 hyp-stub.S
 
This page took 0.033898 seconds and 5 git commands to generate.