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
11 # Copyright (C) 2001~2010 GUAN Xue-tao
14 targets
:= Image zImage uImage
16 $(obj
)/Image
: vmlinux FORCE
17 $(call if_changed
,objcopy
)
18 @echo
' Kernel: $@ is ready'
20 $(obj
)/compressed
/vmlinux
: $(obj
)/Image FORCE
21 $(Q
)$(MAKE
) $(build
)=$(obj
)/compressed
$@
23 $(obj
)/zImage
: $(obj
)/compressed
/vmlinux FORCE
24 $(call if_changed
,objcopy
)
25 @echo
' Kernel: $@ is ready'
30 $(obj
)/uImage
: $(obj
)/zImage FORCE
31 $(call if_changed
,uimage
)
32 @echo
' Image $@ is ready'
36 @
test "$(INITRD)" != "" || \
37 (echo You must specify INITRD
; exit
-1)