public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: clean vsyscall files V2
@ 2009-05-12 10:08 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2009-05-12 10:08 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@igel.co.jp>

Fix so vsyscall-trapa.so and vsyscall.lds get
removed with a make distclean.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 Changes since V1:
 - use CLEAN_FILES instead of MRPROPER_FILES

 arch/sh/Makefile                 |    1 +
 arch/sh/kernel/vsyscall/Makefile |    2 ++
 2 files changed, 3 insertions(+)

--- 0001/arch/sh/Makefile
+++ work/arch/sh/Makefile	2009-05-12 14:12:09.000000000 +0900
@@ -204,6 +204,7 @@ archprepare: maketools
 
 archclean:
 	$(Q)$(MAKE) $(clean)=$(boot)
+	$(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall
 
 define archhelp
 	@echo '* zImage 	           - Compressed kernel image'
--- 0001/arch/sh/kernel/vsyscall/Makefile
+++ work/arch/sh/kernel/vsyscall/Makefile	2009-05-12 14:12:35.000000000 +0900
@@ -34,3 +34,5 @@ SYSCFLAGS_vsyscall-syms.o = -r
 $(obj)/vsyscall-syms.o: $(src)/vsyscall.lds \
 			$(obj)/vsyscall-trapa.o $(obj)/vsyscall-note.o FORCE
 	$(call if_changed,syscall)
+
+CLEAN_FILES += $(obj)/vsyscall-trapa.so $(obj)/vsyscall.lds

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-12 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-12 10:08 [PATCH] sh: clean vsyscall files V2 Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox