Re: zImage.miboot and vmlinux.lds
From: Christian Kujau <hidden>
Date: 2007-06-09 21:39:29
On Sat, 9 Jun 2007, Segher Boessenkool wrote:
vmlinux.lds should be cleaned from the main (non-arch) Makefile; I could swear I've sent a patch for that some time ago.
Well, Stephen Rothwell did (too?) and you replied to his post: http://article.gmane.org/gmane.linux.ports.ppc.devel/5881 http://article.gmane.org/gmane.linux.ports.ppc.devel/5897
Maybe it should be added to $(image-) unconditionally? Or get rid of the ifeq, preferably.
What about just adding it to clean-files, since $(image-) does not seem to catch it?
--- linux-2.6.22-rc3.orig/arch/powerpc/boot/Makefile 2007-05-26 04:55:14.000000000 +0200
+++ linux-2.6.22-rc3/arch/powerpc/boot/Makefile 2007-06-09 23:38:07.000000000 +0200@@ -81,7 +81,7 @@ $(obj)/zImage.lds $(obj)/zImage.coff.lds @cp $< $@ clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \ - empty.c zImage.coff.lds zImage.lds + empty.c zImage.coff.lds zImage.lds zImage.miboot quiet_cmd_bootcc = BOOTCC $@ cmd_bootcc = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $<
--
make bzImage, not war