Skip to contentSkip to conversation

powerpc: Add cuImage.initrd.% target

PATCH New Grant Likely 1 participant 1 message Oct 18, 2008 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Add cuImage.initrd.% target

From: Grant Likely <[email protected]>

This target is needed to build cuImages with an embedded ramdisk image.

---

 arch/powerpc/boot/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/powerpc/boot/Makefile +3 -0
index aac1406..d83c642 100644
@@ -319,6 +319,9 @@ $(obj)/zImage.iseries: vmlinux
 $(obj)/uImage: vmlinux $(wrapperbits)
 	$(call if_changed,wrap,uboot)
 
+$(obj)/cuImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
+	$(call if_changed,wrap,cuboot-$*,,$(obj)/$*.dtb,$(obj)/ramdisk.image.gz)
+
 $(obj)/cuImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
 	$(call if_changed,wrap,cuboot-$*,,$(obj)/$*.dtb)