diff options
Diffstat (limited to 'arch/arc/boot/Makefile')
-rw-r--r-- | arch/arc/boot/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/arch/arc/boot/Makefile b/arch/arc/boot/Makefile index e597cb34c16a..f94cf151e06a 100644 --- a/arch/arc/boot/Makefile +++ b/arch/arc/boot/Makefile | |||
@@ -14,9 +14,15 @@ UIMAGE_ENTRYADDR = $(LINUX_START_TEXT) | |||
14 | 14 | ||
15 | suffix-y := bin | 15 | suffix-y := bin |
16 | suffix-$(CONFIG_KERNEL_GZIP) := gz | 16 | suffix-$(CONFIG_KERNEL_GZIP) := gz |
17 | suffix-$(CONFIG_KERNEL_LZMA) := lzma | ||
17 | 18 | ||
18 | targets += uImage uImage.bin uImage.gz | 19 | targets += uImage |
19 | extra-y += vmlinux.bin vmlinux.bin.gz | 20 | targets += uImage.bin |
21 | targets += uImage.gz | ||
22 | targets += uImage.lzma | ||
23 | extra-y += vmlinux.bin | ||
24 | extra-y += vmlinux.bin.gz | ||
25 | extra-y += vmlinux.bin.lzma | ||
20 | 26 | ||
21 | $(obj)/vmlinux.bin: vmlinux FORCE | 27 | $(obj)/vmlinux.bin: vmlinux FORCE |
22 | $(call if_changed,objcopy) | 28 | $(call if_changed,objcopy) |
@@ -24,12 +30,18 @@ $(obj)/vmlinux.bin: vmlinux FORCE | |||
24 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE | 30 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE |
25 | $(call if_changed,gzip) | 31 | $(call if_changed,gzip) |
26 | 32 | ||
33 | $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE | ||
34 | $(call if_changed,lzma) | ||
35 | |||
27 | $(obj)/uImage.bin: $(obj)/vmlinux.bin FORCE | 36 | $(obj)/uImage.bin: $(obj)/vmlinux.bin FORCE |
28 | $(call if_changed,uimage,none) | 37 | $(call if_changed,uimage,none) |
29 | 38 | ||
30 | $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz FORCE | 39 | $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz FORCE |
31 | $(call if_changed,uimage,gzip) | 40 | $(call if_changed,uimage,gzip) |
32 | 41 | ||
42 | $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE | ||
43 | $(call if_changed,uimage,lzma) | ||
44 | |||
33 | $(obj)/uImage: $(obj)/uImage.$(suffix-y) | 45 | $(obj)/uImage: $(obj)/uImage.$(suffix-y) |
34 | @ln -sf $(notdir $<) $@ | 46 | @ln -sf $(notdir $<) $@ |
35 | @echo ' Image $@ is ready' | 47 | @echo ' Image $@ is ready' |