]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/cris/arch-v10/boot/Makefile
[CRIS] Build fixes for compressed and rescue images for v10 and v32:
[net-next-2.6.git] / arch / cris / arch-v10 / boot / Makefile
CommitLineData
1da177e4 1#
87f5a7f7 2# arch/cris/arch-v10/boot/Makefile
1da177e4
LT
3#
4
87f5a7f7 5OBJCOPYFLAGS = -O binary --remove-section=.bss
1da177e4 6
87f5a7f7
JN
7subdir- := compressed rescue
8targets := Image
1da177e4 9
87f5a7f7
JN
10$(obj)/Image: vmlinux FORCE
11 $(call if_changed,objcopy)
12 @echo ' Kernel: $@ is ready'
13
14$(obj)/compressed/vmlinux: $(obj)/Image FORCE
15 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
16 $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
17
18$(obj)/zImage: $(obj)/compressed/vmlinux
19 @cp $< $@
20 @echo ' Kernel: $@ is ready'