2005-07-28 02:44:44 +08:00
|
|
|
#
|
|
|
|
# arch/cris/arch-v32/boot/Makefile
|
|
|
|
#
|
|
|
|
|
2007-11-30 23:24:07 +08:00
|
|
|
OBJCOPYFLAGS = -O binary -R .note -R .comment
|
2005-07-28 02:44:44 +08:00
|
|
|
|
2007-11-30 23:24:07 +08:00
|
|
|
subdir- := compressed rescue
|
|
|
|
targets := Image
|
2005-07-28 02:44:44 +08:00
|
|
|
|
2007-11-30 23:24:07 +08:00
|
|
|
$(obj)/Image: vmlinux FORCE
|
|
|
|
$(call if_changed,objcopy)
|
|
|
|
@echo ' Kernel: $@ is ready'
|
|
|
|
|
|
|
|
$(obj)/compressed/vmlinux: $(obj)/Image FORCE
|
|
|
|
$(Q)$(MAKE) $(build)=$(obj)/compressed $@
|
|
|
|
$(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
|
|
|
|
|
|
|
|
$(obj)/zImage: $(obj)/compressed/vmlinux
|
|
|
|
@cp $< $@
|
|
|
|
@echo ' Kernel: $@ is ready'
|