diff options
author | Alban Bedel <albeu@free.fr> | 2016-01-26 09:38:28 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-04-03 10:37:21 +0200 |
commit | 8961b28f09dd2b5bb67738968e38a4d40a5b11bc (patch) | |
tree | 9ec8aca8d3df9f60c0f945e19fa300849229df9c /arch/mips | |
parent | MIPS: zboot: Fix the build with XZ compression on older GCC versions (diff) | |
download | linux-8961b28f09dd2b5bb67738968e38a4d40a5b11bc.tar.xz linux-8961b28f09dd2b5bb67738968e38a4d40a5b11bc.zip |
MIPS: zboot: Remove copied source files on clean
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/boot/compressed/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/boot/compressed/Makefile b/arch/mips/boot/compressed/Makefile index acfc3ce6859a..309d2ad67e4d 100644 --- a/arch/mips/boot/compressed/Makefile +++ b/arch/mips/boot/compressed/Makefile @@ -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) |