kbuild: drop redundant "PHONY += FORCE"
[deliverable/linux.git] / arch / unicore32 / boot / Makefile
1 #
2 # arch/unicore32/boot/Makefile
3 #
4 # This file is included by the global makefile so that you can add your own
5 # architecture-specific flags and dependencies.
6 #
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.
10 #
11 # Copyright (C) 2001~2010 GUAN Xue-tao
12 #
13
14 targets := Image zImage uImage
15
16 $(obj)/Image: vmlinux FORCE
17 $(call if_changed,objcopy)
18 @echo ' Kernel: $@ is ready'
19
20 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
21 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
22
23 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
24 $(call if_changed,objcopy)
25 @echo ' Kernel: $@ is ready'
26
27 UIMAGE_ARCH = unicore
28 UIMAGE_LOADADDR = 0x0
29
30 $(obj)/uImage: $(obj)/zImage FORCE
31 $(call if_changed,uimage)
32 @echo ' Image $@ is ready'
33
34 PHONY += initrd
35 initrd:
36 @test "$(INITRD)" != "" || \
37 (echo You must specify INITRD; exit -1)
38
39 subdir- := compressed
This page took 0.030364 seconds and 5 git commands to generate.