Makefile 457 B

1234567891011121314151617181920
  1. #
  2. # arch/cris/arch-v32/boot/Makefile
  3. #
  4. OBJCOPYFLAGS = -O binary -R .note -R .comment
  5. subdir- := compressed rescue
  6. targets := Image
  7. $(obj)/Image: vmlinux FORCE
  8. $(call if_changed,objcopy)
  9. @echo ' Kernel: $@ is ready'
  10. $(obj)/compressed/vmlinux: $(obj)/Image FORCE
  11. $(Q)$(MAKE) $(build)=$(obj)/compressed $@
  12. $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
  13. $(obj)/zImage: $(obj)/compressed/vmlinux
  14. @cp $< $@
  15. @echo ' Kernel: $@ is ready'