Linux 3.6-rc6
[linux/fpc-iii.git] / arch / cris / boot / Makefile
blob6e3b509fd7fce7dadc5469197bd4c48d5eee0759
2 # arch/cris/boot/Makefile
5 objcopyflags-$(CONFIG_ETRAX_ARCH_V10) += -R .note -R .comment
6 objcopyflags-$(CONFIG_ETRAX_ARCH_V32) += --remove-section=.bss --remove-section=.note.gnu.build-id
8 OBJCOPYFLAGS = -O binary $(objcopyflags-y)
11 subdir- := compressed rescue
12 targets := Image
14 $(obj)/Image: vmlinux FORCE
15 $(call if_changed,objcopy)
16 @echo ' Kernel: $@ is ready'
18 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
19 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
20 $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
22 $(obj)/zImage: $(obj)/compressed/vmlinux
23 @cp $< $@
24 @echo ' Kernel: $@ is ready'