2 # arch/cris/arch-v32/boot/Makefile
6 OBJCOPYFLAGS = -O binary -R .note -R .comment
8 subdir- := compressed rescue
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
21 @echo ' Kernel: $@ is ready'