]>
Commit | Line | Data |
---|---|---|
1da177e4 | 1 | # |
87f5a7f7 | 2 | # arch/cris/arch-v10/boot/Makefile |
1da177e4 LT |
3 | # |
4 | ||
87f5a7f7 | 5 | OBJCOPYFLAGS = -O binary --remove-section=.bss |
1da177e4 | 6 | |
87f5a7f7 JN |
7 | subdir- := compressed rescue |
8 | targets := 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' |