]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] ps3: add a default zImage target
authorGeoff Levand <geoffrey.levand@am.sony.com>
Tue, 5 Dec 2006 00:11:38 +0000 (16:11 -0800)
committerPaul Mackerras <paulus@samba.org>
Tue, 5 Dec 2006 00:28:17 +0000 (11:28 +1100)
Add a powerpc make target that can be loaded by the ps3 bootloader (kboot) and
set this as the default image to build for that platform.

Until the compressed zImage wrapper is made, this arranges for a stripped
vmlinux image to be built.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile

index 4a831ae95a91805bab5992d7add8b6b1ec0013f4..343dbcfdf08a6484425666e3038cf2f6fd5a6e17 100644 (file)
@@ -149,13 +149,16 @@ $(obj)/zImage.miboot: vmlinux $(wrapperbits)
 $(obj)/zImage.initrd.miboot: vmlinux $(wrapperbits)
        $(call cmd,wrap_initrd,miboot)
 
+$(obj)/zImage.ps3: vmlinux
+       $(STRIP) -s -R .comment $< -o $@
+
 $(obj)/uImage: vmlinux $(wrapperbits)
        $(call cmd,wrap,uboot)
 
 image-$(CONFIG_PPC_PSERIES)            += zImage.pseries
 image-$(CONFIG_PPC_MAPLE)              += zImage.pseries
 image-$(CONFIG_PPC_IBM_CELL_BLADE)     += zImage.pseries
-image-$(CONFIG_PPC_PS3)                        += zImage.pseries
+image-$(CONFIG_PPC_PS3)                        += zImage.ps3
 image-$(CONFIG_PPC_CHRP)               += zImage.chrp
 image-$(CONFIG_PPC_EFIKA)              += zImage.chrp
 image-$(CONFIG_PPC_PMAC)               += zImage.pmac