]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/cris/arch-v32/boot/Makefile
[CRIS] Build fixes for compressed and rescue images for v10 and v32:
[net-next-2.6.git] / arch / cris / arch-v32 / boot / Makefile
CommitLineData
51533b61
MS
1#
2# arch/cris/arch-v32/boot/Makefile
3#
51533b61 4
3d6f7871 5OBJCOPYFLAGS = -O binary -R .note -R .comment
51533b61 6
3d6f7871
JN
7subdir- := compressed rescue
8targets := Image
51533b61 9
3d6f7871
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'