treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / unicore32 / boot / Makefile
blob828855007b2937435ca888c1bfc1e426aaa7c4e9
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 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'
27 UIMAGE_ARCH = unicore
28 UIMAGE_LOADADDR = 0x0
30 $(obj)/uImage: $(obj)/zImage FORCE
31 $(call if_changed,uimage)
32 @echo ' Image $@ is ready'
34 PHONY += initrd
35 initrd:
36 @test "$(INITRD)" != "" || \
37 (echo You must specify INITRD; exit -1)
39 subdir- := compressed