# # arch/cris/boot/Makefile # objcopyflags-$([31mCONFIG_ETRAX_ARCH_V10[0m) += -R .note -R .comment objcopyflags-$([31mCONFIG_ETRAX_ARCH_V32[0m) += --remove-section=.bss --remove-section=.note.gnu.build-id OBJCOPYFLAGS = -O binary $(objcopyflags-y) subdir- := compressed rescue targets := Image $(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' |