Skip to content

Commit

Permalink
powerpc: Fix building in the old arch's boot directory for now
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Paul Mackerras committed Sep 28, 2005
1 parent 400d221 commit a3a9e99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/powerpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.*)'
Expand All @@ -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

Expand Down

0 comments on commit a3a9e99

Please sign in to comment.