From: Geoff Levand <geoffrey.levand@am•sony.com>
To: Paul Mackerras <paulus@samba•org>
Cc: linuxppc-dev@ozlabs•org, cbe-oss-dev@ozlabs•org,
Arnd Bergmann <arnd@arndb•de>
Subject: [POWERPC] ps3: add a default zImage target
Date: Mon, 27 Nov 2006 19:22:46 -0800 [thread overview]
Message-ID: <456BAB86.4070104@am.sony.com> (raw)
It's currently not possible to build the default zImage target if PS3 is the
only selected platform. This adds a target that builds a stripped vmlinux,
which the PS3 bootloader (kboot) will be able to load.
Signed-off-by: Geoff Levand <geoffrey.levand@am•sony.com>
---
This replaces Arnd's patch '[POWERPC 7/9] ps3: add a default zImage target'
sent out earlier today.
-Geoff
arch/powerpc/boot/Makefile | 4 ++++
1 files changed, 4 insertions(+)
Index: cell--common--7/arch/powerpc/boot/Makefile
===================================================================
--- cell--common--7.orig/arch/powerpc/boot/Makefile
+++ cell--common--7/arch/powerpc/boot/Makefile
@@ -149,6 +149,9 @@
$(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)
@@ -157,6 +160,7 @@
image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries
image-$(CONFIG_PPC_CHRP) += zImage.chrp
image-$(CONFIG_PPC_PMAC) += zImage.pmac
+image-$(CONFIG_PPC_PS3) += zImage.ps3
image-$(CONFIG_DEFAULT_UIMAGE) += uImage
# For 32-bit powermacs, build the COFF and miboot images
next reply other threads:[~2006-11-28 3:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-28 3:22 Geoff Levand [this message]
2006-12-05 0:11 ` [POWERPC] ps3: add a default zImage target Geoff Levand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=456BAB86.4070104@am.sony.com \
--to=geoffrey.levand@am$(echo .)sony.com \
--cc=arnd@arndb$(echo .)de \
--cc=cbe-oss-dev@ozlabs$(echo .)org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox