Patchwork powerpc: Add cuImage.initrd.% target

login
register
mail settings
Submitter Grant Likely
Date Oct. 18, 2008, 5:12 a.m.
Message ID <20081018051207.16279.16018.stgit@localhost.localdomain>
Download mbox | patch
Permalink /patch/4937/
State Accepted, archived
Commit a4292d7ae6fabcdbc41c3e0f0eb790a1429b985f
Headers show

Comments

Grant Likely - Oct. 18, 2008, 5:12 a.m.
From: Grant Likely <grant.likely@secretlab.ca>

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

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---

 arch/powerpc/boot/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index aac1406..d83c642 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -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)