aboutsummaryrefslogtreecommitdiff
path: root/linux/Config.in
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2021-01-22 11:39:49 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-01-23 21:27:13 +0100
commit96c26ce86322de1985138958af7a7d14d825afb8 (patch)
tree9be2876a83bc2ad5a4a43c90558c731d769bc24b /linux/Config.in
parent0afd150f5c3dc637a154c1c50e688e46ad50e6e7 (diff)
downloadbuildroot-96c26ce86322de1985138958af7a7d14d825afb8.tar.gz
buildroot-96c26ce86322de1985138958af7a7d14d825afb8.tar.bz2
linux: add support for Image.gz kernel format
arm64 / riscv supports building a gzip compressed 'Image' format kernel, which is sometimes useful. From arch/arm64/Makefile: all: Image.gz Image: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ Image.%: Image $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ (and similar logic for riscv) Future architectures may or may not copy this logic, so for robustness add an explicit Image.gz format rather than copying both Image and Image.gz when the Image format is used. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'linux/Config.in')
-rw-r--r--linux/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/Config.in b/linux/Config.in
index 4010a9def8..7cef0f3655 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -263,6 +263,10 @@ config BR2_LINUX_KERNEL_IMAGE
bool "Image"
depends on BR2_aarch64 || BR2_riscv
+config BR2_LINUX_KERNEL_IMAGEGZ
+ bool "Image.gz"
+ depends on BR2_aarch64 || BR2_riscv
+
config BR2_LINUX_KERNEL_LINUX_BIN
bool "linux.bin"
depends on BR2_microblaze