Merge branch 'r6040' of git://git.kernel.org/pub/scm/linux/kernel/git/romieu/netdev...
[pandora-kernel.git] / arch / cris / arch-v32 / boot / Makefile
1 #
2 # arch/cris/arch-v32/boot/Makefile
3 #
4
5 OBJCOPY = objcopy-cris
6 OBJCOPYFLAGS = -O binary -R .note -R .comment
7
8 subdir- := compressed rescue
9 targets := Image
10
11 $(obj)/Image: vmlinux FORCE
12         $(call if_changed,objcopy)
13         @echo '  Kernel: $@ is ready'
14
15 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
16         $(Q)$(MAKE) $(build)=$(obj)/compressed $@
17         $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
18
19 $(obj)/zImage:  $(obj)/compressed/vmlinux
20         @cp $< $@
21         @echo '  Kernel: $@ is ready'