powerpc/pmac/smp: Rename fixup_irqs() to migrate_irqs() and use it on ppc32
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / unicore32 / boot / Makefile
blob79e5f88845d9c5c9088fb9eba7a9d837b9421bc0
2 # arch/unicore32/boot/Makefile
4 # This file is included by the global makefile so that you can add your own
5 # architecture-specific flags and dependencies.
7 # This file is subject to the terms and conditions of the GNU General Public
8 # License. See the file "COPYING" in the main directory of this archive
9 # for more details.
11 # Copyright (C) 2001~2010 GUAN Xue-tao
14 MKIMAGE := $(srctree)/scripts/mkuboot.sh
16 targets := Image zImage uImage
18 $(obj)/Image: vmlinux FORCE
19 $(call if_changed,objcopy)
20 @echo ' Kernel: $@ is ready'
22 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
23 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
25 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
26 $(call if_changed,objcopy)
27 @echo ' Kernel: $@ is ready'
29 quiet_cmd_uimage = UIMAGE $@
30 cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A unicore -O linux -T kernel \
31 -C none -a $(LOADADDR) -e $(STARTADDR) \
32 -n 'Linux-$(KERNELRELEASE)' -d $< $@
34 $(obj)/uImage: LOADADDR=0x0
36 $(obj)/uImage: STARTADDR=$(LOADADDR)
38 $(obj)/uImage: $(obj)/zImage FORCE
39 $(call if_changed,uimage)
40 @echo ' Image $@ is ready'
42 PHONY += initrd FORCE
43 initrd:
44 @test "$(INITRD)" != "" || \
45 (echo You must specify INITRD; exit -1)
47 subdir- := compressed