Skip to contentSkip to conversation

powerpc: Fix build of cell zImage.initrd

PATCH New Benjamin Herrenschmidt 1 participant 1 message Dec 19, 2006 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Fix build of cell zImage.initrd

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.

---

This should go into 2.6.20

arch/powerpc/boot/Makefile +3 -0
Index: linux-cell/arch/powerpc/boot/Makefile
===================================================================
@@ -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)