| .. | .. |
|---|
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
|---|
| 2 | | -targets := vmlinux.bin vmlinux.bin.gz uImage |
|---|
| 2 | +targets := vmlinux.bin vmlinux.bin.gz |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | # uImage build relies on mkimage being availble on your host for ARC target |
|---|
| 5 | 5 | # You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage |
|---|
| .. | .. |
|---|
| 13 | 13 | UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE) |
|---|
| 14 | 14 | UIMAGE_ENTRYADDR = $(LINUX_START_TEXT) |
|---|
| 15 | 15 | |
|---|
| 16 | | -suffix-y := bin |
|---|
| 17 | | -suffix-$(CONFIG_KERNEL_GZIP) := gz |
|---|
| 18 | | -suffix-$(CONFIG_KERNEL_LZMA) := lzma |
|---|
| 19 | | - |
|---|
| 20 | | -targets += uImage |
|---|
| 21 | 16 | targets += uImage.bin |
|---|
| 22 | 17 | targets += uImage.gz |
|---|
| 23 | 18 | targets += uImage.lzma |
|---|
| .. | .. |
|---|
| 42 | 37 | |
|---|
| 43 | 38 | $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE |
|---|
| 44 | 39 | $(call if_changed,uimage,lzma) |
|---|
| 45 | | - |
|---|
| 46 | | -$(obj)/uImage: $(obj)/uImage.$(suffix-y) |
|---|
| 47 | | - @ln -sf $(notdir $<) $@ |
|---|
| 48 | | - @echo ' Image $@ is ready' |
|---|