diff options
-rw-r--r-- | arch/powerpc/Makefile | 8 |
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". |
153 | bzImage: zImage | 153 | bzImage: zImage |
154 | 154 | ||
155 | boot := arch/$(ARCH)/boot | 155 | boot := 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 | ||
160 | uImage: vmlinux | 160 | uImage: vmlinux |
161 | $(Q)$(MAKE) $(build)=$(boot)/images $(boot)/images/$@ | 161 | $(Q)$(MAKE) ARCH=$(OLDARCH) $(build)=$(boot)/images $(boot)/images/$@ |
162 | 162 | ||
163 | define archhelp | 163 | define 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 | |||
171 | endef | 171 | endef |
172 | 172 | ||
173 | archclean: | 173 | archclean: |
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 | ||