diff options
author | Paul Mackerras <paulus@samba.org> | 2005-09-28 01:53:36 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-28 01:53:36 -0400 |
commit | a3a9e99e36b2897b3e038869e61f363d62434086 (patch) | |
tree | c7cd550825a3d460ab24071ee4acff539976a9af | |
parent | 400d221274426958f1e1c7081a247bea9cede696 (diff) |
powerpc: Fix building in the old arch's boot directory for now
Signed-off-by: Paul Mackerras <paulus@samba.org>
-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 | ||