diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-28 02:12:59 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-02 07:01:56 -0400 |
commit | 0570d4ed4325c0fb2ceb75f45a21d878b1741b61 (patch) | |
tree | fde157854c58f96d21219b709676bd8dcbf2b5f9 /arch/powerpc | |
parent | 18456d015c50bc903fc66c65621170170190a1fd (diff) |
[POWERPC] Create a zImage for legacy iSeries
This zImage is really just the stripped vmlinux, but it means that there
is one less special case for iSeries and also that the zImages will be
built for a combined kernel build that happens to include iSeries.
This zImage boots fine on legacy iSeries.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Makefile | 1 | ||||
-rw-r--r-- | arch/powerpc/boot/Makefile | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 6238b5875fd1..fbafd965dcd2 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -142,7 +142,6 @@ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ | |||
142 | 142 | ||
143 | # Default to zImage, override when needed | 143 | # Default to zImage, override when needed |
144 | defaultimage-y := zImage | 144 | defaultimage-y := zImage |
145 | defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux | ||
146 | defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage | 145 | defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage |
147 | KBUILD_IMAGE := $(defaultimage-y) | 146 | KBUILD_IMAGE := $(defaultimage-y) |
148 | all: $(KBUILD_IMAGE) | 147 | all: $(KBUILD_IMAGE) |
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 378bda50b178..cc11697c38e5 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -136,6 +136,7 @@ image-$(CONFIG_PPC_EFIKA) += zImage.chrp | |||
136 | image-$(CONFIG_PPC_PMAC) += zImage.pmac | 136 | image-$(CONFIG_PPC_PMAC) += zImage.pmac |
137 | image-$(CONFIG_PPC_HOLLY) += zImage.holly-elf | 137 | image-$(CONFIG_PPC_HOLLY) += zImage.holly-elf |
138 | image-$(CONFIG_PPC_PRPMC2800) += zImage.prpmc2800 | 138 | image-$(CONFIG_PPC_PRPMC2800) += zImage.prpmc2800 |
139 | image-$(CONFIG_PPC_ISERIES) += zImage.iseries | ||
139 | image-$(CONFIG_DEFAULT_UIMAGE) += uImage | 140 | image-$(CONFIG_DEFAULT_UIMAGE) += uImage |
140 | 141 | ||
141 | ifneq ($(CONFIG_DEVICE_TREE),"") | 142 | ifneq ($(CONFIG_DEVICE_TREE),"") |
@@ -185,6 +186,9 @@ $(obj)/zImage.initrd.%: vmlinux $(wrapperbits) | |||
185 | $(obj)/zImage.%: vmlinux $(wrapperbits) | 186 | $(obj)/zImage.%: vmlinux $(wrapperbits) |
186 | $(call if_changed,wrap,$*) | 187 | $(call if_changed,wrap,$*) |
187 | 188 | ||
189 | $(obj)/zImage.iseries: vmlinux | ||
190 | $(STRIP) -s -R .comment $< -o $@ | ||
191 | |||
188 | $(obj)/zImage.ps3: vmlinux | 192 | $(obj)/zImage.ps3: vmlinux |
189 | $(STRIP) -s -R .comment $< -o $@ | 193 | $(STRIP) -s -R .comment $< -o $@ |
190 | 194 | ||