[PATCH] powerpc: Fix build of cell zImage.initrd

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Dec 19 16:42:58 EST 2006


The patch adding support for zImage.ps3 didn't add a zImage.initrd.ps3
target causing builds of zImage.initrd to fail when ps3 is included in
the .config. The current method of generating ps3 images doesn't support
initrd's yet, so we create a dummy target that only displays a warning
message instead.

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---

This should go into 2.6.20

Index: linux-cell/arch/powerpc/boot/Makefile
===================================================================
--- linux-cell.orig/arch/powerpc/boot/Makefile	2006-12-19 16:37:39.000000000 +1100
+++ linux-cell/arch/powerpc/boot/Makefile	2006-12-19 16:39:49.000000000 +1100
@@ -152,6 +152,9 @@ $(obj)/zImage.initrd.miboot: vmlinux $(w
 $(obj)/zImage.ps3: vmlinux
 	$(STRIP) -s -R .comment $< -o $@
 
+$(obj)/zImage.initrd.ps3: vmlinux
+	@echo "  WARNING zImage.initrd.ps3 not supported (yet)"
+
 $(obj)/uImage: vmlinux $(wrapperbits)
 	$(call cmd,wrap,uboot)
 





More information about the Linuxppc-dev mailing list