From: Christian Kujau <hidden> Date: 2007-05-28 19:32:55
Hi,
when doing a "make mrproper" or even "make distclean" on a current
2.6-git tree, I see 2 files being left over:
arch/powerpc/boot/zImage.miboot
arch/powerpc/kernel/vmlinux.lds
The attached 1-liner "fixes" this but I wonder why they've been kept at
all.
thanks,
Christian
--
BOFH excuse #23:
improperly oriented keyboard
From: Christian Kujau <hidden> Date: 2007-06-09 19:14:40
On Mon, 28 May 2007, Christian Kujau wrote:
when doing a "make mrproper" or even "make distclean" on a current 2.6-git
tree, I see 2 files being left over:
arch/powerpc/boot/zImage.miboot
arch/powerpc/kernel/vmlinux.lds
Hm, the files are still there. Is there any reason for "mrproper" not to
remove these files? Otherwise, would the following be appropriate?
vmlinux.lds should be cleaned from the main (non-arch)
Makefile; I could swear I've sent a patch for that some
time ago.
zImage.miboot should be added to $(clean-files) in
arch/powerpc/boot/Makefile; the $(image-) in there
should catch it except for the ifeq in
ifeq ($(CONFIG_PPC32),y)
image-$(CONFIG_PPC_PMAC) += zImage.coff zImage.miboot
endif
Maybe it should be added to $(image-) unconditionally?
Or get rid of the ifeq, preferably.
Segher
That patch actually removed vmlinux.lds for the repository as it had
become a generated file i.e. the patch did not add rules to the Makefile
to remove the file for mrproper.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/