1# 2# arch/cris/arch-v32/boot/Makefile 3# 4 5OBJCOPYFLAGS = -O binary -R .note -R .comment 6 7subdir- := compressed rescue 8targets := 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' 21