]> git.karo-electronics.de Git - linux-beck.git/commitdiff
MIPS: zboot: Remove copied source files on clean
authorAlban Bedel <albeu@free.fr>
Tue, 26 Jan 2016 08:38:28 +0000 (09:38 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 3 Apr 2016 08:37:21 +0000 (10:37 +0200)
The copied source files must be added to the extra-y list to have them
removed on clean.

Signed-off-by: Alban Bedel <albeu@free.fr>
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: Alex Smith <alex.smith@imgtec.com>
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12233/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/compressed/Makefile

index acfc3ce6859ad4cd5add52b1c35b9dd4799557a6..309d2ad67e4d6ee3d7c8c844506b5ae8bd92b24d 100644 (file)
@@ -41,6 +41,7 @@ endif
 
 vmlinuzobjs-$(CONFIG_KERNEL_XZ) += $(obj)/ashldi3.o $(obj)/bswapsi.o
 
+extra-y += ashldi3.c bswapsi.c
 $(obj)/ashldi3.o $(obj)/bswapsi.o: KBUILD_CFLAGS += -I$(srctree)/arch/mips/lib
 $(obj)/ashldi3.c $(obj)/bswapsi.c: $(obj)/%.c: $(srctree)/arch/mips/lib/%.c
        $(call cmd,shipped)