summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-09-28 07:53:36 +0200
committerPaul Mackerras <paulus@samba.org>2005-09-28 07:53:36 +0200
commita3a9e99e36b2897b3e038869e61f363d62434086 (patch)
treec7cd550825a3d460ab24071ee4acff539976a9af /arch/powerpc/Makefile
parent[PATCH] ppc32: make cur_cpu_spec a single pointer instead of an array (diff)
downloadlinux-a3a9e99e36b2897b3e038869e61f363d62434086.tar.xz
linux-a3a9e99e36b2897b3e038869e61f363d62434086.zip
powerpc: Fix building in the old arch's boot directory for now
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Makefile')
-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
# All the instructions talk about "make bzImage".
bzImage: zImage
-boot := arch/$(ARCH)/boot
+boot := arch/$(OLDARCH)/boot
$(BOOT_TARGETS): vmlinux
- $(Q)$(MAKE) $(build)=$(boot) $@
+ $(Q)$(MAKE) ARCH=$(OLDARCH) $(build)=$(boot) $@
uImage: vmlinux
- $(Q)$(MAKE) $(build)=$(boot)/images $(boot)/images/$@
+ $(Q)$(MAKE) ARCH=$(OLDARCH) $(build)=$(boot)/images $(boot)/images/$@
define archhelp
@echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/images/zImage.*)'
@@ -171,7 +171,7 @@ define archhelp
endef
archclean:
- $(Q)$(MAKE) $(clean)=arch/ppc/boot
+ $(Q)$(MAKE) $(clean)=$(boot)
# Temporary hack until we have migrated to asm-powerpc
$(Q)rm -rf arch/$(ARCH)/include