diff options
Diffstat (limited to 'arch/sh/boot/Makefile')
| -rw-r--r-- | arch/sh/boot/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile index 1ce63624c9b9..ba515d800245 100644 --- a/arch/sh/boot/Makefile +++ b/arch/sh/boot/Makefile | |||
| @@ -24,12 +24,13 @@ suffix-y := bin | |||
| 24 | suffix-$(CONFIG_KERNEL_GZIP) := gz | 24 | suffix-$(CONFIG_KERNEL_GZIP) := gz |
| 25 | suffix-$(CONFIG_KERNEL_BZIP2) := bz2 | 25 | suffix-$(CONFIG_KERNEL_BZIP2) := bz2 |
| 26 | suffix-$(CONFIG_KERNEL_LZMA) := lzma | 26 | suffix-$(CONFIG_KERNEL_LZMA) := lzma |
| 27 | suffix-$(CONFIG_KERNEL_XZ) := xz | ||
| 27 | suffix-$(CONFIG_KERNEL_LZO) := lzo | 28 | suffix-$(CONFIG_KERNEL_LZO) := lzo |
| 28 | 29 | ||
| 29 | targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz \ | 30 | targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz \ |
| 30 | uImage.bz2 uImage.lzma uImage.lzo uImage.bin | 31 | uImage.bz2 uImage.lzma uImage.xz uImage.lzo uImage.bin |
| 31 | extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \ | 32 | extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \ |
| 32 | vmlinux.bin.lzo | 33 | vmlinux.bin.xz vmlinux.bin.lzo |
| 33 | subdir- := compressed romimage | 34 | subdir- := compressed romimage |
| 34 | 35 | ||
| 35 | $(obj)/zImage: $(obj)/compressed/vmlinux FORCE | 36 | $(obj)/zImage: $(obj)/compressed/vmlinux FORCE |
| @@ -76,6 +77,9 @@ $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE | |||
| 76 | $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE | 77 | $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE |
| 77 | $(call if_changed,lzma) | 78 | $(call if_changed,lzma) |
| 78 | 79 | ||
| 80 | $(obj)/vmlinux.bin.xz: $(obj)/vmlinux.bin FORCE | ||
| 81 | $(call if_changed,xzkern) | ||
| 82 | |||
| 79 | $(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE | 83 | $(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE |
| 80 | $(call if_changed,lzo) | 84 | $(call if_changed,lzo) |
| 81 | 85 | ||
| @@ -88,6 +92,9 @@ $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz | |||
| 88 | $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma | 92 | $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma |
| 89 | $(call if_changed,uimage,lzma) | 93 | $(call if_changed,uimage,lzma) |
| 90 | 94 | ||
| 95 | $(obj)/uImage.xz: $(obj)/vmlinux.bin.xz | ||
| 96 | $(call if_changed,uimage,xz) | ||
| 97 | |||
| 91 | $(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo | 98 | $(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo |
| 92 | $(call if_changed,uimage,lzo) | 99 | $(call if_changed,uimage,lzo) |
| 93 | 100 | ||
