Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
[linux-2.6] / arch / cris / arch-v10 / boot / Makefile
1 #
2 # arch/cris/arch-v10/boot/Makefile
3 #
4
5 OBJCOPYFLAGS = -O binary --remove-section=.bss
6
7 subdir- := compressed rescue
8 targets := Image
9
10 $(obj)/Image: vmlinux FORCE
11         $(call if_changed,objcopy)
12         @echo '  Kernel: $@ is ready'
13
14 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
15         $(Q)$(MAKE) $(build)=$(obj)/compressed $@
16         $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
17
18 $(obj)/zImage:  $(obj)/compressed/vmlinux
19         @cp $< $@
20         @echo '  Kernel: $@ is ready'