Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317631

[PATCH v3 2/3] MIPS: zboot: Remove copied source files on clean

From Alban Bedel <albeu@free.fr>
Newsgroups linux.kernel
Subject [PATCH v3 2/3] MIPS: zboot: Remove copied source files on clean
Date 2016-01-26 09:40 +0100
Message-ID <qV7km-1uA-13@gated-at.bofh.it> (permalink)
References <qV7km-1uA-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/mips/boot/compressed/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/boot/compressed/Makefile b/arch/mips/boot/compressed/Makefile
index acfc3ce..309d2ad 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)
-- 
2.0.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v3 2/3] MIPS: zboot: Remove copied source files on clean Alban Bedel <albeu@free.fr> - 2016-01-26 09:40 +0100

csiph-web