All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Holst <mail@s-holst.de>
To: sparclinux@vger.kernel.org
Subject: small make clean fix
Date: Sun, 21 Mar 2004 21:42:23 +0000	[thread overview]
Message-ID: <20040321214223.GA17279@spike> (raw)

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 |
+-----------------+----------------+

             reply	other threads:[~2004-03-21 21:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-21 21:42 Stefan Holst [this message]
2004-03-21 23:12 ` small make clean fix Keith M Wesolowski
2004-03-22  0:08 ` Pete Zaitcev
2004-03-22  0:22 ` Keith M Wesolowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040321214223.GA17279@spike \
    --to=mail@s-holst.de \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.