aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index d94878193cd9..92751ca6f8b1 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -152,13 +152,13 @@ CPPFLAGS_vmlinux.lds := -Upowerpc
152# All the instructions talk about "make bzImage". 152# All the instructions talk about "make bzImage".
153bzImage: zImage 153bzImage: zImage
154 154
155boot := arch/$(ARCH)/boot 155boot := arch/$(OLDARCH)/boot
156 156
157$(BOOT_TARGETS): vmlinux 157$(BOOT_TARGETS): vmlinux
158 $(Q)$(MAKE) $(build)=$(boot) $@ 158 $(Q)$(MAKE) ARCH=$(OLDARCH) $(build)=$(boot) $@
159 159
160uImage: vmlinux 160uImage: vmlinux
161 $(Q)$(MAKE) $(build)=$(boot)/images $(boot)/images/$@ 161 $(Q)$(MAKE) ARCH=$(OLDARCH) $(build)=$(boot)/images $(boot)/images/$@
162 162
163define archhelp 163define archhelp
164 @echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/images/zImage.*)' 164 @echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/images/zImage.*)'
@@ -171,7 +171,7 @@ define archhelp
171endef 171endef
172 172
173archclean: 173archclean:
174 $(Q)$(MAKE) $(clean)=arch/ppc/boot 174 $(Q)$(MAKE) $(clean)=$(boot)
175 # Temporary hack until we have migrated to asm-powerpc 175 # Temporary hack until we have migrated to asm-powerpc
176 $(Q)rm -rf arch/$(ARCH)/include 176 $(Q)rm -rf arch/$(ARCH)/include
177 177