Linux 2.6.25-rc4
[linux-2.6/next.git] / arch / cris / arch-v32 / boot / Makefile
blob3f91349c5f121acf2e03c24d3f2d18a706157ed1
2 # arch/cris/arch-v32/boot/Makefile
5 OBJCOPY = objcopy-cris
6 OBJCOPYFLAGS = -O binary -R .note -R .comment
8 subdir- := compressed rescue
9 targets := Image
11 $(obj)/Image: vmlinux FORCE
12 $(call if_changed,objcopy)
13 @echo ' Kernel: $@ is ready'
15 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
16 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
17 $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
19 $(obj)/zImage: $(obj)/compressed/vmlinux
20 @cp $< $@
21 @echo ' Kernel: $@ is ready'