zImage.miboot and vmlinux.lds
Segher Boessenkool
segher at kernel.crashing.org
Sun Jun 10 07:03:26 EST 2007
> Hm, the files are still there. Is there any reason for "mrproper" not
> to
> remove these files? Otherwise, would the following be appropriate?
>
> --- linux-2.6-dev/arch/powerpc/Makefile.orig 2007-05-28
> 21:24:39.000000000 +0200
> +++ linux-2.6-dev/arch/powerpc/Makefile 2007-05-28 21:23:25.000000000
> +0200
> @@ -174,6 +174,7 @@ archclean:
>
> archmrproper:
> $(Q)rm -rf arch/$(ARCH)/include
> + $(Q)rm -f arch/$(ARCH)/boot/zImage.miboot
> arch/$(ARCH)/kernel/vmlinux.lds
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
More information about the Linuxppc-dev
mailing list