* 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* Re: small make clean fix
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
2 siblings, 0 replies; 4+ messages in thread
From: Keith M Wesolowski @ 2004-03-21 23:12 UTC (permalink / raw)
To: sparclinux
On Sun, Mar 21, 2004 at 10:42:23PM +0100, Stefan Holst wrote:
> 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
Pete rejected this when I wrote it last year, and applied the clean
target instead. This is probably my fault, since I failed to tell him
that it doesn't work (or perhaps it did then but doesn't now).
Pete, knowing that the clean target doesn't get called, do you still
object to this?
--
Keith M Wesolowski
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: small make clean fix
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
2 siblings, 0 replies; 4+ messages in thread
From: Pete Zaitcev @ 2004-03-22 0:08 UTC (permalink / raw)
To: sparclinux
On Sun, 21 Mar 2004 15:12:58 -0800
Keith M Wesolowski <wesolows@foobazco.org> wrote:
> Pete rejected this when I wrote it last year, and applied the clean
> target instead. This is probably my fault, since I failed to tell him
> that it doesn't work (or perhaps it did then but doesn't now).
>
> Pete, knowing that the clean target doesn't get called, do you still
> object to this?
I remember the story, but I forgot on what grounds I did it.
I seem to recall having it in my tree for a while and something
did not work. But maybe it's just my imagination. Why don't you
keep it in your work tree for a week, if nothing breaks, call it good?
-- Pete
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: small make clean fix
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
2 siblings, 0 replies; 4+ messages in thread
From: Keith M Wesolowski @ 2004-03-22 0:22 UTC (permalink / raw)
To: sparclinux
On Sun, Mar 21, 2004 at 04:08:54PM -0800, Pete Zaitcev wrote:
> I remember the story, but I forgot on what grounds I did it.
> I seem to recall having it in my tree for a while and something
> did not work. But maybe it's just my imagination. Why don't you
> keep it in your work tree for a week, if nothing breaks, call it good?
I can do better than that; it's been in my work tree and the Gentoo
kernels for 4 months and nobody's had any problems.
Applied, thanks guys.
--
Keith M Wesolowski
^ 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.