Commit 87f5a7f7 authored by Jesper Nilsson's avatar Jesper Nilsson

CRIS v10: Update boot Kbuild makefile.

- Remove old specific targets, use more generic ones instead.
parent 2c2314bf
# #
# arch/cris/boot/Makefile # arch/cris/arch-v10/boot/Makefile
# #
target = $(target_boot_dir)
src = $(src_boot_dir)
zImage: compressed/vmlinuz OBJCOPY = objcopy-cris
OBJCOPYFLAGS = -O binary --remove-section=.bss
compressed/vmlinuz: subdir- := compressed rescue
@$(MAKE) -f $(src)/compressed/Makefile $(target_compressed_dir)/vmlinuz targets := Image
clean: $(obj)/Image: vmlinux FORCE
@$(MAKE) -f $(src)/compressed/Makefile clean $(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'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment