You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
572 B
25 lines
572 B
20 years ago
|
#
|
||
16 years ago
|
# arch/cris/boot/Makefile
|
||
20 years ago
|
#
|
||
|
|
||
16 years ago
|
objcopyflags-$(CONFIG_ETRAX_ARCH_V10) += -R .note -R .comment
|
||
|
objcopyflags-$(CONFIG_ETRAX_ARCH_V32) += --remove-section=.bss
|
||
|
|
||
|
OBJCOPYFLAGS = -O binary $(objcopyflags-y)
|
||
|
|
||
20 years ago
|
|
||
17 years ago
|
subdir- := compressed rescue
|
||
|
targets := Image
|
||
20 years ago
|
|
||
17 years ago
|
$(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'
|