[PATCH] Fix Make warning about zImage multiple dependencies

Stephen Rothwell sfr at canb.auug.org.au
Sat Sep 17 14:35:11 EST 2005


On Fri, 16 Sep 2005 13:21:50 -0400 Jimi Xenidis <jimix at watson.ibm.com> wrote:
>
> -boottargets-$(CONFIG_PPC_PSERIES) += zImage zImage.initrd
> +use-zImage-$(CONFIG_PPC_PSERIES) = y
> +use-zImage-$(CONFIG_PPC_MAPLE) = y
> +use-zImage-$(CONFIG_PPC_BPA) = y
> +
> +boottargets-$(use-zImage-y) += zImage zImage.initrd
>  boottargets-$(CONFIG_PPC_PMAC) += zImage.vmode zImage.initrd.vmode
> -boottargets-$(CONFIG_PPC_MAPLE) += zImage zImage.initrd
>  boottargets-$(CONFIG_PPC_ISERIES) += vmlinux.sminitrd vmlinux.initrd vmlinux.sm
> -boottargets-$(CONFIG_PPC_BPA) += zImage zImage.initrd

We are getting clever, aren't we? :-)

I like it.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050917/43bb754f/attachment.pgp 


More information about the Linuxppc64-dev mailing list