All of lore.kernel.org
 help / color / mirror / Atom feed
* small make clean fix
@ 2004-03-21 21:42 Stefan Holst
  2004-03-21 23:12 ` Keith M Wesolowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Holst @ 2004-03-21 21:42 UTC (permalink / raw)
  To: sparclinux

hi,

yet another small patch from me:
this fixes make clean/mrproper to remove arch/sparc/boot/System.map, too.
it was all along in the way while making patches...

maybe it is a bug in kbuild that clean target is not executed
in arch/sparc/boot/Makefile?

diff -urN a/arch/sparc/boot/Makefile b/arch/sparc/boot/Makefile
--- a/arch/sparc/boot/Makefile	2004-02-29 23:35:40.000000000 +0100
+++ b/arch/sparc/boot/Makefile	2004-03-21 22:16:02.096364040 +0100
@@ -32,6 +32,3 @@
 
 $(obj)/btfix.s: $(obj)/btfixupprep vmlinux FORCE
 	$(call if_changed,btfix)
-
-clean:
-	rm $(obj)/System.map
diff -urN a/arch/sparc/Makefile b/arch/sparc/Makefile
--- a/arch/sparc/Makefile	2004-03-11 11:32:58.000000000 +0100
+++ b/arch/sparc/Makefile	2004-03-21 22:13:17.005461672 +0100
@@ -67,7 +67,8 @@
 	$(call filechk,gen-asm-offsets)
 
 CLEAN_FILES +=	include/asm-$(ARCH)/asm_offsets.h	\
-		arch/$(ARCH)/kernel/asm-offsets.s
+		arch/$(ARCH)/kernel/asm-offsets.s	\
+		arch/$(ARCH)/boot/System.map
 
 # Don't use tabs in echo arguments.
 define archhelp

-- 
RY  Stefan
+-----------------+----------------+
| mail@s-holst.de | www.s-holst.de |
+-----------------+----------------+

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-22  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-21 21:42 small make clean fix Stefan Holst
2004-03-21 23:12 ` Keith M Wesolowski
2004-03-22  0:08 ` Pete Zaitcev
2004-03-22  0:22 ` Keith M Wesolowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.