| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 | targets := image
|
| 7 | targets += bzImage
|
| 8 | subdir- := compressed
|
| 9 |
|
| 10 | $(obj)/image: vmlinux FORCE
|
| 11 | $(call if_changed,objcopy)
|
| 12 |
|
| 13 | $(obj)/bzImage: $(if $(CONFIG_KERNEL_UNCOMPRESSED),$(objtree)/vmlinux,$(obj)/compressed/vmlinux) FORCE
|
| 14 | $(call if_changed,objcopy)
|
| 15 |
|
| 16 | $(obj)/compressed/vmlinux: FORCE
|
| 17 | $(Q)$(MAKE) $(build)=$(obj)/compressed $@
|