aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-09-28 01:53:36 -0400
committerPaul Mackerras <paulus@samba.org>2005-09-28 01:53:36 -0400
commita3a9e99e36b2897b3e038869e61f363d62434086 (patch)
treec7cd550825a3d460ab24071ee4acff539976a9af /arch/powerpc/Makefile
parent400d221274426958f1e1c7081a247bea9cede696 (diff)
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
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