path: root/arch/arm64/Makefile
diff options
authorOlof Johansson <>2015-07-16 21:26:16 +0100
committerWill Deacon <>2015-07-27 11:08:39 +0100
commit0723c05fb75e4428b79b5cd657af7496b2604422 (patch)
tree139c17fc253dc1bb87fdddb7671652921572958f /arch/arm64/Makefile
parent2f4b829c625ec36c2d80bef6395c7b74cea8aac0 (diff)
arm64: enable more compressed Image formats
Plumb up Makefile arguments for the already supported formats in the kbuild system: lz4, bzip2, lzma, and lzo. Note that just as with Image.gz, these images are not self-decompressing and the booting firmware still needs to handle decompression before launching the kernel image. Signed-off-by: Olof Johansson <> Signed-off-by: Will Deacon <>
Diffstat (limited to 'arch/arm64/Makefile')
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 4d2a925998f9..0953a97b5119 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -58,7 +58,10 @@ all: $(KBUILD_IMAGE) $(KBUILD_DTBS)
boot := arch/arm64/boot
-Image Image.gz: vmlinux
+Image: vmlinux
+ $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
+Image.%: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
zinstall install: vmlinux