* [PATCH] bootwrapper: Only build cuImage if CONFIG_DEVICE_TREE is non-empty.
@ 2007-05-02 18:00 Scott Wood
2007-05-03 7:06 ` David Gibson
0 siblings, 1 reply; 2+ messages in thread
From: Scott Wood @ 2007-05-02 18:00 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
This allows the zImage target to once again be used to build
all supported image types, rather than requiring an explicit
"make uImage" to avoid failing to create an unneeded cuImage.
Signed-off-by: Scott Wood <scottwood@freescale.com>
---
arch/powerpc/boot/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 326ee92..f2d850c 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -129,9 +129,12 @@ image-$(CONFIG_PPC_CELLEB) += zImage.pseries
image-$(CONFIG_PPC_CHRP) += zImage.chrp
image-$(CONFIG_PPC_EFIKA) += zImage.chrp
image-$(CONFIG_PPC_PMAC) += zImage.pmac
+image-$(CONFIG_DEFAULT_UIMAGE) += uImage
+
+ifneq ($(CONFIG_DEVICE_TREE),"")
image-$(CONFIG_PPC_83xx) += cuImage.83xx
image-$(CONFIG_PPC_85xx) += cuImage.85xx
-image-$(CONFIG_DEFAULT_UIMAGE) += uImage
+endif
# For 32-bit powermacs, build the COFF and miboot images
# as well as the ELF images.
--
1.5.0.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-03 7:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02 18:00 [PATCH] bootwrapper: Only build cuImage if CONFIG_DEVICE_TREE is non-empty Scott Wood
2007-05-03 7:06 ` David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).